LIVE: https://form-validation-f51f6.web.app/
Form validation using Javascript that checks the following conditions:
- Username can't be blank.
- Username must be at least 3 characters long.
- Email address must have a valid email format.
- Password must be at least 6 characters long.
- Password can't have more than 20 characters.
- Password must include at least 1 number.
- Password must include at least 1 capital letter.
- Password must include at least 1 special character (!@#$%^&*)
- Password 2 (check) must be the same as password 1.
CSS features:
- Shows validation icon / color on input field when data is validated.
- Shows error icon / color on input field when data is not validated.