How can you make a menu button (3 lines) have menus which have sub menus? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can you make a menu button (3 lines) have menus which have sub menus?

So im working on a school program and apparently i got stuck. I managed to code the menu button and it works perfectly fine however, i want to add submenus in the menu itself so when i click on a menu lets say (genre) it will make the other menus dissapear and showing only the submenus under "genre". I just cant seem to work that out. Can anyone help me please?

24th Mar 2020, 6:21 AM
Gamer DeathZ
Gamer DeathZ - avatar
6 Answers
0
You can also do that using CSS and JavaScript. Go on w3schools.com to check some examples.
24th Mar 2020, 6:47 AM
Taranjeet
Taranjeet - avatar
+ 1
Send your code so that it is easier to help you out.
24th Mar 2020, 6:32 AM
Taranjeet
Taranjeet - avatar
0
Yes the hamburger button
24th Mar 2020, 6:37 AM
Gamer DeathZ
Gamer DeathZ - avatar
0
How do use bootstrap? Coz i never learned tht
24th Mar 2020, 6:39 AM
Gamer DeathZ
Gamer DeathZ - avatar
0
Oki ill try that. N i didnt know how to show my codes so i didnt send sorry.. im kinda new on here
24th Mar 2020, 6:50 AM
Gamer DeathZ
Gamer DeathZ - avatar
0
https://www.w3schools.com/howto/howto_js_sidenav.asp See this one. It has hamburger button type menu of different types
24th Mar 2020, 6:56 AM
Taranjeet
Taranjeet - avatar