Look at the source, this is an example of data validation in JavaScript
It uses both HTML5 <input> tags
and
code to validate data
There are 3 styles, invalid, invalid:required and valid
What's your e-mail address?
Enter your e-mail address
Enter your e-mail address again
Submit