Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+1)

OMG

Edit because I had to check how you did the toggle and I have things to say: O M F G that classList.toggle is genius and now I'm so jealous that I didn't come across that when I was working on light mode / dark mode stuff myself because that would've saved me so much headache

Do you mind if I steal that implementation for my own stuff (it's so much better than how I made mine work) (I'll credit you, of course)?

(+1)

Feel free to make use of the toggle, no need for credit (or at least crediting us; we found it on W3Schools when seeking a way to make it as simple as possible and grabbed it for our generators) ;)

Awesome! Thank you! 8D