Web Page Design: Exercises for Section 14

After you have studied the section on Dynamic HTML, try to do this exercise:

Make an HTML form with three input fields which can accept a number. Make a fourth input field to display the sum of the three numbers when the user clicks a "+" button. Finally, make a "Clear" button to reset the fields.

Answer:

Here is an example.


Go to Contents