Practice JavaScript and Learn: Form Validation
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 413 MB | Duration: 1.1 hours
JavaScript was created for validating forms because it allowed for a better user experience by validating the form before it was submitted to the server. Interestingly, form validation remained largely unchanged until HTML5. Validating forms used to be a tedious and mundane process, but thanks to these new features in HTML5, we can write validation code much more easily. We can now take advantage of the built-in Constraint Validation API to provide a clean user experience without having to write a lot of code.