Design comparison
SolutionDesign
Solution retrospective
For this project I learned about the classList function, that is able to toggle a class on and off from a HTML element. Using it, I don't need to write if...else statements adding and removing properties, and it is able to save a lot of lines of codes.
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