A short course on building a switcher that lets users toggle a website between dark and light mode, using CSS and JavaScript. It covers styling the switcher, adding a dark theme to a page and making the switcher work.
What you’ll learn
✓Create a theme switcher control styled for a web page
✓Add a dark theme to a page's styling
✓Make the switcher change the page theme with JavaScript