Validation of a personal identification form using Javascript
This project aims to validate a form input in HTML, using the onfocus and onblur functions in the Javascript DOM
-
Create the Form using the validate.html file attached. The link tag in the head of the HTML has links to the CSS and Javascript files. Store all three files in the same directory to avoid changing the path in the script.
-
The Form looks like this and has three fields to accept input from a user: