Submitted 9 months ago
Social Media Dashboard With Theme Switcher Solution
@itsale-o
Design comparison
SolutionDesign
Solution retrospective
Hello, this is my solution to the Social Media Dashboard With Theme Switcher Challenge.
The way I found to solve this challenge was to attribute classes for everything and give the classes styles for the light and dark themes. When the users click on the switch button, all the classes are changed with JavaScript. I couldn't think of a better way, so any suggestion and/or feedback is welcome.
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord