PROJECT DESCRIPTIONOne of the most common uses of client-side JavaScript is to validate form data. When we say "validate" form data, we mean ensuring that the data entered is clean, error free, formatted correctly, and meets certain criterion. The validation of input data is crucial because it ensures that the data is captured in a format that can be used most efficiently. Web designers and developers use client-side JavaScript as one method for validating user-inputted data. The purpose of this project is to build an HTML5 registration form and use JavaScript functions to validate user-inputted data.
PROJECT REQUIREMENTCreate an input from using HTML5 and JavaScript. The form will validate and collect information form the user and then e-mail the result to your personal e-mail address.
The user must select a meal preference from a radio button list (Vegan, Vegetarian, Non-Vegetarian).
The user must select at least two of four contact methods listed on the form. An error message will display when less than two (zero or one) methods are selected.
Optional field for additional comments. Field length (250 characters). This field can be blank.
1. Use // to document your code by providing comments that explain the purpose of all lines of code you write.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here