HTML, CSS, JavaScript, VS Code, Firefox

Solution retrospective
I wrote this in VS Code (1.7.1.2) and tested it in Firefox (104.0.1).
If anyone has any comments regarding my JavaScript, I would really appreciate it. My JavaScript skills are still in the beginner stages, and I feel like my solution is very reflective of that. For instance, would it be more beneficial to move the functions that are inside the addEventListener and forEach methods into the global scope so that these functions can be called, if need be, elsewhere?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on K. Karr's solution.
Join 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