Programming Homework Help
Programming Homework Help. Javascript Question
For this lab, you will be creating a simple 1-page site based on the following set of requirements:
(a)Your registration form should be in a file named index.html or index.js
(b)Your registration form should include and validate the following fields:
i. Email: follow traditional email format, and allow for two character (e.g., ‘.uk’), three character (e.g.,
‘com’), or four character (e.g., ‘info’) domains, and be a required field.
ii. Username: must not begin with a number or contain spaces or special characters, and must be a required
field.
iii. Password: use at least one number, one uppercase letter, one lowercase letter, and one special character.
The password should also be at least 8 characters long. This field must be a required field
iv. Confirm Password: must match ‘Password’ field.
(c) On the successful submission of the form, you must show an alert box.
Note: Remember, you’ll be expected to use ES6 JavaScript for validations with proper block and function
scoping. Also apply the knowledge of let, var and constant within this assignment