Design comparison
SolutionDesign
Solution retrospective
To maintain the style, the validation is hardcoded in JS. However, the Constraint Validation API would be a better tool. Has anybody used the API and resolved the ":invalid" border-colour issue? Any best practices for the validation?
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