HTML
CSS
JS

Classic Toggle with Light and Dark Mode

Classic toggle with light and dark modes. Light mode has a blue and green background, and dark mode has a dark gray and light gray background.

You can change the background color of the light mode toggle by changing CSS lines 19 and 39. You can do the same for the dark mode toggle by changing CSS lines 59 and 63.

';