0
Toggle button using toggle() function
I'm trying to make a toggle button with toggle function () but after I tried it why ul I omitted with display: none; does not appear when I have added activeul class by using function toggle () but why not succeed please help thank you. https://code.sololearn.com/WZLZ905kEzG7/?ref=app
3 odpowiedzi
+ 2
ul.style.display = "block";
+ 1
.activeul{
display:block !important;
}
+ 1
Calviղ is there any other way besides that?