https://pranavp-work.github.io/darkMode-js/
Learning Dark Mode and Light Mode using Cookies to save choice, made entirely using Vanilla Javascript.