Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
apart from the toggle button for themes, i have faced an issue where upon reloading the window, the overall color scheme goes blank. fortunately a classic if-else statement does the trick whenever localstorage isnt stored, it gets overwritten with default theme which in this case it goes by the name of theme-1 stored into the classname.
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