Learn how to add a dark mode toggle to your website using CSS variables and JavaScript. Step-by-step tutorial with code examples, perfect for beginners.