Form Validation

A
andrewmetalab

Create a form that includes the following elements. Then use javascript to display error messages if the user does not correctly fill them out. Finally, use your creativity to make beautiful form elements and error messages.

- Name (required) *or, feel free to replace with another input that is required
- Email or URL field (required, must be valid email address or valid URL)
- ZIP Code (required, must be valid ZIP code) *or, feel free to replace with another input that checks for a pattern
- Age (required, must be over 18) *or, feel free to replace with another input that checks for a min number or max number
- Radio buttons (required)
- Checkbox (required)

-----

The template for this challenge uses Chris Ferdinandi's Validate.js plugin, which leverages native HTML5 form validation elements and the Javascript Constraint Validation API. For more info, please see:

https://github.com/cferdinandi/validate
https://css-tricks.com/form-validation-part-1-constraint-validation-html/