Theme of the week: Toggle
Description
A toggle (or a switch) is a component which allows you to change a state / a boolean value from true to false and vice-versa. It is basically a checkbox, but we are going to hide it and display a nicer version of a toggle instead by using a label. π
Furthermore, in this article I'm going to build a Dark/Light theme toggle. See below!
Useful Resources
Check out my submission for this challenge: Dark/Light theme toggle.
See all the submissions in this Codepen Collection.
Are you interested in joining the challenge? π Read The Complete Guide to find out how. Don't forget to share your creation! π
Happy Coding! π
Top comments (0)