Design comparison
SolutionDesign
Solution retrospective
For this project, I used a classList.toggle with a condition after the class I desire to toggle on or off (the error message for the e-mail form in this case). Any feedback is welcome!
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