Submitted about 1 year ago
Signup form validation with error messages
@SuperJulia2024
Design comparison
SolutionDesign
Solution retrospective
Hi,
For the validation of the form values I have created a container for the icon and error message and set the display to "none". Then, when button is clicked, if the data are invalid, I set the display of that container to "block" Not sure if this is the best way to proceed for this validation
Any other idea? Thanks !
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