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!

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

cs ht

8/4/2020 6:02:26 AM

Tanisha Gupta

2 Answers

New Answer

+3

document.getElementById("button").classList.toggle(class name);

+1

<!-- I think that this is the simplest on/off toggle button in the whole of web development: --> <input type="checkbox"/>