Newsletter sign-up form with success message solution
Design comparison
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
- @better5afePosted about 1 year ago
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 helpful0
Please log in to post a comment
Log in with GitHubJoin 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