0
Why I can’t hide the <div> with this code ?
I tried several codes to make the button appear and hide the <div> work but I still couldn't Ps: if i said wrong it is because i am brazilian and i don't speak english very well https://code.sololearn.com/WWt2xH0Ttn6N/?ref=app
4 odpowiedzi
+ 1
Games Para Nobs , you should switch the style depending on current type if it is "block" switch it to "none" and vice versa. Look at the code. Hope it helps you.
https://code.sololearn.com/WQi0cIR3q0MP/?ref=app
+ 1
The button is in the div; you can't show the button and at the same time hide the div.
0
thank you guys!