Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Newsletter sign-up form with success message

roopxx 120

@roopxx

Desktop design screenshot for the Newsletter sign-up form with success message coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm most proud of the email validation functionality I implemented. It was a challenge to ensure that the form would correctly identify and reject improperly formatted email addresses, but I was able to achieve this using Web API Validation in JavaScript. Next time, I would like to explore more advanced form validation techniques, perhaps incorporating a library or RegEx to handle this more efficiently.

What challenges did you encounter, and how did you overcome them?

One of the main challenges I faced was making the form responsive for different screen sizes. I initially struggled with getting the layout to look right on mobile devices. However, by using a mobile-first design approach and carefully implementing media queries, I was able to create a layout that looks good on both mobile and desktop screens.

What specific areas of your project would you like help with?

I would appreciate feedback on my use of CSS Flexbox for the layout. I'm still learning and would like to know if there are more efficient or cleaner ways to achieve the same result. Additionally, I would like to know if there are better ways to handle form validation in JavaScript.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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