0
Can someone tell me why my navbar is not working.
8 Respostas
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