Social Media Dashboard With Theme Switcher Solution

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.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Alessandra Oliveira's solution.
Join 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