Design comparison
SolutionDesign
Solution retrospective
This is my first time to validate a form.
The form validates at every character you enter or type in the input-field. I also added a valid message, like changing the border color and a check icon. The password also have some a bit of validation requirement. And a simple message when you submit the form when every input is valid.
I wonder if I wrote the JS code correctly, I tried to use a loop but it seems like its going to be hard to read, So I just hard coded everything.
If you have some suggestion or feedback, Please let me know thanks. :D
Community feedback
- @ChamuMutezvaPosted over 3 years ago
Good job with the validation Mike. Well done.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord