Next modify assignment4.html to include the JavaScript code required for field validation. Following are the guidelines
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Next modify assignment4.html to include the JavaScript code required for field validation. Following are the guidelines
→ Age has to be at least 18 yrs. old. → The Email field must contain the @ and. characters (5\% of the mark for using a regular expression - research it on the internet) → The Confirm Password and Password fields should have identical input. → Passwords must have at least 6 characters and must contain at least one digit and one upper-case character. (5\% of the mark for using a regular expression - research it on the internet) Vhen the form fields pass validation, an alert message is displayed to show a onfirmation message (e.g. "Thanks for registering with our website, your ustomer record was created successfully."). 10% of the mark) Customize/design your page using a CSS style sheet and raphics of your choice. Include a banner area with graphics and a title of your thoice, add additional visual enhancements to the page as you consider suitable. Upload the html document and supporting picture files to the studentweb server and create a hyperlink called Assignment 4 from your home page to point to the assignment4. html file.