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 solution

@angeloilardi

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


Customising validation is a great thing. No one wants to see the browser's default message. The problem is that it's not as easy as it should be. Once again, Tailwind came to the rescue with some great handling of CSS pseudo classes like :invalid and :placeholder-shown. Let me know your thoughts :)

Community feedback

Better5afe 850

@better5afe

Posted

Hi Angelo, very nice project! 🎉

I really admire how the layout is almost identical to the design + I also appreciate the fact that the input validity is checked as soon as it loses focus. Cool!

One minor thing from my side - I would add a hover and focus effect on the button element, as on the design images. It would improve the UX even more.

Other then that, this is a very strong project, keep it up!

Marked as helpful

0

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