Make a Car insurance registration form to take
Name
Email
Gender (radio buttons)
Car Brands (options : [BMW, Audi, Mercedez])
Car Age
Date of Purchase(dop)
Password
submit button
Kindly follow all the instructions mentioned below so that your code passes all the test cases
Instructions:
-
- are required fields,
- Use method attribute value that you should use in this case for the form!
- The respective input elements for the mentioned fields should have ids
(i).
#name
(ii).#email
(iii).#password
(iv).#cars
(v).#carage
(vi).#dop
For example, the element for selecting car brand should have id #cars. - The radio buttons for gender should have name attribute as gender.
- All input elements must also have corresponding labels with for attribute set to id's of element they belong. For example, label for input of name will be
<label for=""name""> Name</label>
- Use Button of type=
submit