light-dark mode with JS

This is a full website demo for light-dark mode.

There is also a simple light-dark mode with sass demo

CODE SEPARATE:

HTML

The toggle is at the right corner with a fixed position.

Four sections with smooth scrolling.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
YvonneDev

YvonneDev

201 Followers

❤️Front-end Web Development self-taught *share what I learned*