+ 2
Help! Basic Theme changer is not working
So I took a basic java script class and tried to made this theme toggler but it isn't working properly nothing happens when I click the button Kindly suggest improvements Here is the code 😊 https://code.sololearn.com/WijXlASh0w72/?ref=app
3 odpowiedzi
+ 2
For your javascript classList.toggle(“.black”) get rid of that period and make it toggle(“black”)
+ 1
It was showing some kind of error
+ 1
Thanks it works now....