Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
Why wonāt my menu toggle?
https://code.sololearn.com/We1PBdTJNehC/?ref=app Press the grid button and it creates a table with button that I want to be a drop down menu. Iām not sure why, but the button wonāt work when clicked and the css wonāt change like it should. Iām using the toggle to switch between different css codes to show it when clicked, but it isnāt working. Itās happening on line 60. If anyone has a solution or some tips to offer thatād be appreciated.
3 Respostas
+ 4
Hmm... Why not just use simple onclick() functions instead of CSS toggle? Unless of course you're trying to get some animation... Also a suggestion is yet setting your width to 100% as it doesn't display quite right on mobile devices. You've got a good start though, keep it up.
+ 5
You have 2 console errors.
One in line 46 where you have tried to set CSS for your table. Maybe work there and you can fix Ur code.
0
idk man