Create a button to change the theme of your website, alternating between light and dark themes. Technologies used include Sass (SCSS) and JavaScript Web Storage API (localStorage).
More about localStorage: https://developer.mozilla.org/en-US/d...
Get the code from GitHub: https://github.com/GeekLaunch/change-...
GeekLaunch produces educational videos covering such topics as Linux, web development (including HTML5, CSS 3, JavaScript, and PHP), Java programming, tips for power users, among many others. Subscribe: New video every Wednesday!
Not a geek? Start today!