Dropdown navigation - JS

Solution retrospective
This is my very first attempt to use JavaScript DOM Manipulation and addEventListener. It was a beautiful feeling to see it work and it definitely added to my confidence to use more JavaScript in my Frontend Projects.
I wonder if there's a way I could have made the 3 functions I used for the navigation into just one function.
I'd love to get feedback. Thank you🤗🤗🤗
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Winnie'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