The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Dark/Light color switch Reply To: Dark/Light color switch


Codepen doesn’t seem to be liking it much but it looks like it generally works (try changing to dark and refreshing the page).

Maybe you could test it in a separate live environment. Check the console for possible errors…