Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.09 KB

README.md

File metadata and controls

21 lines (17 loc) · 1.09 KB

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