Skip to content
Submitted almost 3 years ago

Social Media Dashboard With Theme Switcher Solution

LVL 3
@itsale-o
A solution to the Social media dashboard with theme switcher challenge

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.

Code
Loading...

Please log in to post a comment

Log in

Community 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