Design comparison
SolutionDesign
Solution retrospective
I used vanilla JavaScript for the form validation but HTML now has an email input element variant which does the validation for you and pops up a tooltip when entering an invalid email. I had to select a text input instead, as I couldn't find a way to style that tooltip.
Community feedback
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