Professional Documents
Culture Documents
Feedback
Name
Age (years)
Gender Male
Female
Submit Clear
Figure 1 - Form
1. Create the form as shown above in Figure 1. A user must enter a value for all the
input fields. (20 marks)
2. When the user submitted the form, it should display the error message “You should be
above 12 years old” if the user enters an age lesser than 12 years or left blank.
(10 marks)
3. When the user submitted the form, it should display a thank you message with the
user’s name on the top of the web page.
e.g. Thank you Radha Silva! (10 marks)