Skip to content
Submitted 12 months ago

Social media dashboard with theme switcher

LVL 3
@Utkarsh9571
A solution to the Social media dashboard with theme switcher challenge

Solution retrospective


What are you most proud of, and what would you do differently next time?

i knew i can complete it without much problem and i needed a win after last challenge and i got one. i tried to change the themes that way because i want to see if we can do that.

What challenges did you encounter, and how did you overcome them?

i happen to learn that you can't change text color by in-built properties like(style.backgroundColor), maybe we have to go around and make another function for that, but let's leave it that way. so i change it like i did last time by adding a class for different theme which changes the colors.

What specific areas of your project would you like help with?

changing hover color when theme changes, that's the trick part for me,

you can see in my style.css that i have to use (!important) thing to be able to see some results, why is that, what did i did wrong.

also, i was getting a problem a lot, that every time when you reload this website, for the first time you have to click twice on toggle-button to change theme, later you can do that in one click.

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Utkarsh9571’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