Newsletter email sign-up form using client-side JavaScript validation
Design comparison
Solution retrospective
I feel like I did a good job on figuring out how to validate the email input field effectively without being too obtrusive.
What challenges did you encounter, and how did you overcome them?It was a but of a challenge to figure out how to validate the field only when a user is done submitting a value, rather than every time they type something or even when the page is just loading for the first time. So figuring that out was cool.
What specific areas of your project would you like help with?I am definitely uncertain about how I am handling the move to the success screen and the move back. I think I have a working solution that involves showing and hiding the success screen (without a page reload), but have no clue if my approach aligns with best practices. Would love to know about other effective approaches, or to learn about disadvantages to my approach.
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