Hi,
I’m very new to Javascript, just learning the basics at the minute. I’ve done a few very simple exercise before but am stuck with this one as I’m not to sure how to use JS to calculate the value whether boxes are checked or not and to allow the user to only select one box.
Here’s the exercise anyway, any help is appreciated (P.S I can create the form myself no problem, it’s just the JS part I’m lost with).
-Create a form which allows people to calculate the price of a computer.
The basic computer including a mouse & keyboad cost 1000 euro.
-Using a preselected check box for each mouse & keyboard remove (or add) 50 euro for each that is slected or not.
-Offer a choice of 3 screens at a supplement of 100, 150 and 200 euro. You will need to make sure that one maximum is selected.