First Web App with JS, used a bit of animation and transition

Solution retrospective
I started studying Basic JS about a couple of months ago and this is the first time I'm using it. I gotta say that it's totally different from what I've studied. LOL
Situation: I removed the event listener and the script is still working perfectly. document.addEventListener("DOMContentLoaded", function (e) {...}); Question: What would be the advantage of leaving the event listener on, if any?
Please feel free to comment on the transitions, animation, and/or HTML structure that I used, as well.
Thank you!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Siege'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