Let's imagine you're set on having a dropdown menu anyway!
You can do dropdowns with CSS transformations. Wish I had a good example, but the app I'm doing now is behind a login.
Sounds like an excellent idea for a post here :)
I'm thinking about it, but I'm not yet convinced I wouldn't just be repeating something posted elsewhere. Looking around though, it looks like I combined approaches that I found in other posts, so it might be worthwhile.
The HTML Select Element is all that is needed. No JS required.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.