Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
- Regex to validate email
- Regex to validate phone number
- General form validations
- I create an object
formData
to help me do the validations
I think I could have done more dynamic things with JS but as it is it seemed good
What challenges did you encounter, and how did you overcome them?I had a bit of a headache performing the validations, I ended up leaving everything in the form's submit
event.
Form validations. It really gave me a hard time.
Community feedback
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