0

Drop-down menu

I am trying to create a drop-down menu seen in most websites. To be more specific the ones where you press a button and a list appears. I am struggling and I need help. Should I wait until I finish JavaScript in web development?

29th Jan 2024, 1:36 PM
Wakhile Biyela
Wakhile Biyela - avatar
2 Respuestas
+ 5
Learn from this example how to create drop-down menu. Of course there is Javascript involved. Learn and understand how Javascript syntax and functions work. https://sololearn.com/compiler-playground/WjuAbudK0y8U/?ref=app
29th Jan 2024, 6:16 PM
D Shah 🎯⏳️
D Shah 🎯⏳️ - avatar
+ 1
As an alternative to JS. It can be done with CSS. https://www.w3schools.com/css/css_dropdowns.asp However it will be activated by hover, instead of click.
31st Jan 2024, 1:14 AM
Chris Coder
Chris Coder - avatar