Demonstrating the use of HTML5 Form API for validation. For production, the JavaScript should be factored out into the validation functions in the upcoming feature.