0
How do I code a menu bar(the burger type) using html, css and javascript showing contents when clicked?
pls help...been trying to code a menu bar and failing for days now. it should appear and disappear smoothly on click. I've tried linking my css code with display:none, going on and off with javascript but it doesn't reflect my styles on the menu content. My "burger menu" won't even show, just shows button.
2 odpowiedzi
+ 2
Here you have two tutorials with which you can create a Navbar as you want:
https://www.w3schools.com/howto/howto_js_topnav_responsive.asp
https://medium.freecodecamp.org/how-to-build-a-responsive-navbar-with-a-toggle-menu-using-flexbox-3438e1d08783
0
thank you