Design comparison
SolutionDesign
Solution retrospective
Is there a more advanced way of selecting/storing/working with DOM elements selected through JavaScript than storing them in the global scope?
Is it better to select them all the time with $('<selector>') than storing them in variables?
Any JS file structuring tips/articles are welcome!
HTML/CSS comments are welcome too!
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