DEV Community

Discussion on: Dark/Light theme switcher with HTML, CSS & Javascript Only

darkwiiplayer profile image

"dark mode with every technology on the web only"

NGL that title is a bit funny xD

I'd recommend something with a bit more of a hook to get people to read the article; Dark/Light theme switchers are a very common thing and don't really work well to grab attention.

Another nitpick: Some people (including me) block cookies and other storage by default, so it might be worth adding a check for that so the switcher still works, albeit without persistence.