Skip to content

Page functionality is made in pure JavaScript. You can view the website via the link below ↓

Notifications You must be signed in to change notification settings

alvorobyova/form-hw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Registration & login form 📋

Form validation is implemented using regular expressions
There is no chance for the user to fill out the form incorrectly. If the field is filled in incorrectly, a warning appears stating what exectly user enters incorrectly

Key points customized with regular expressions:
✔️ all inputs must be filled
✔️ Full Name input can only contain letters and a space
✔️ Your username input can only contain letters, numbers, underscores and dashes
✔️ entered e-mail is also checked for correctness
✔️ Password and Repeat Password must match
✔️ the user must agree with terms
✔️ password input must contain at least 8 characters, including:

  • at least one uppercase letter
  • at least one digit
  • at least one special character

Also the skill of working with Local Storage was implemented: user information is written to an object, and then to an array
This allows to check the entered data when logging in for compliance with those that the user entered during registration
Not registered - not logged in

About

Page functionality is made in pure JavaScript. You can view the website via the link below ↓

Topics

Resources

Stars

Watchers

Forks