Can someone tell me why my navbar is not working. | Sololearn: Learn to code for FREE!

0

Can someone tell me why my navbar is not working.

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

10/3/2020 11:17:52 AM

Ultimate Sakshamz

8 Answers

New Answer

0

Ive added an event listener to the menuList. And also change the == to = function togglemenu(){ if(menuList.style.maxHeight == "0px") { menuList.style.maxHeight = "130px"; } else { menuList.style.maxHeight = "0px"; } } menuList.addEventListener("click", togglemenu , false);

+1

So can you please give me the code

+1

Thank you thank you so so so much sir ☺️ thank you

0

Please give me

0

Please give me the code

0

Dont forget the equal to assignment. == to =

0

Can you please do that

0

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