HTML
CSS
JS

Light Bulb Toggle Switch

This light bulb switch is a very clever way of creating a light and dark mode toggle with CSS. When light mode is on, the light bulb will light up; otherwise, it will be off.

You can change the color of the light bulb by modifying background-color on CSS line 35 for off-color and line 9 for on-color.

';