Design comparison
Solution retrospective
I'm proud that I added the additional functionality of showing the state of valid email as well.
In future, I would like to create a more comprehensive regex. I just did the basic format right now because I wanted to do it on my own but the comprehensive regex for email will I guess be the same universally?! so for this project I let it go.
What challenges did you encounter, and how did you overcome them?I encountered some challenges while attaching submit event listener to button only to find out that it can only be attached to element.
Then I struggled with limiting the number post period to 4. Google helped.
What specific areas of your project would you like help with?I guess with structuring of the js code. Like should I be retrieving all the elements required right at the start like I did right now or I can do it as required. What would be better performance-wise or structure-wise?
Any other advice on the project is also welcomed :)
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