I have a project on codepen that I am building for fun. I did get the dropdown to be working at first, but I made some changes and then it didn't work. I tried several suggestions made by some other campers in similar topics, but they don't seem to work.
Thanks for your help even though it's probably something stupid!!!
Here's the link to my codepen: https://codepen.io/chawin/pen/awaNvE