Submitted over 1 year agoA solution to the Newsletter sign-up form with success message challenge
Newsletter signup form
bootstrap
@TomrocheDev

Solution retrospective
What challenges did you encounter, and how did you overcome them?
I haven't got much experience with form validation, so the validation was sort of a challenge for me. I struggled with the error message because the :invalid pseudo selector gave the error message when the user was typing in the email address. That was not the experience I wanted to create so I fixed the problem with JavaScript. I'm not sure if this is the correct way to handle form validation, so any advice is welcome.
What specific areas of your project would you like help with?Correct ways of form validation.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Tom Roche'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