Flexbox & Grid & JS Mobile First - Multi-Step Form

Solution retrospective
- 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.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Oswaldo Castro's solution.
Join 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