Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 840 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 840 Bytes

PasswordInput component

This component was built upon request for a take-home interview prompt.

Using React, write a password entry library that meets the following requirements:

Has two input fields to validate the entry from the user (both inputs must match)
Password has a min length of 6 characters
Password has at least 1 uppercase character
Password has at least 1 lowercase character
Password has at least 1 number
Password has at least 1 special character (!@#$%^&*()_-+={[}]|:;"'<,>.)

Has a submit button that will trigger validation and present success or why the password entry failed

See it in action: example

Read the docs: storybook