Dark/Light theme toggle using CSS and JS
This is just a simple Light/Dark theme toggler that I created so that I can understand the use of CSS and Javascript.
I found it quite interesting how you can set up a button to slide from left to right, at the same time toggling the theme of the website. I have always wanted to know how it works as I myself toggle between both modes on my phone. Carrying out this project made me realise how a simple toggle like this can be implemented into websites.
Live View