How to make a navbar button ? Here is my code i want to add a responsive nav-bar . Can anyone suggest me how can I? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a navbar button ? Here is my code i want to add a responsive nav-bar . Can anyone suggest me how can I?

https://code.sololearn.com/WY5hhIg6IZ1t/?ref=app

4th Aug 2020, 6:02 AM
Tanisha Gupta
Tanisha Gupta - avatar
2 Answers
+ 3
document.getElementById("button").classList.toggle(class name);
4th Aug 2020, 6:32 AM
v@msi😉
v@msi😉 - avatar
+ 1
<!-- I think that this is the simplest on/off toggle button in the whole of web development: --> <input type="checkbox"/>
4th Aug 2020, 7:17 AM
Rowsej
Rowsej - avatar