+ 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 Answers
+ 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