Design comparison
Solution retrospective
Hello Guys , This is my Solution for the REST Countries API with color theme switcher
This was one of the most challenging, challenges I have done in front end mentor, I enjoyed a lot of doing this, This is my first fem project using react , type script.
Any Feedback Will be appreciated. As well any questions
Community feedback
- @coderdanniePosted over 1 year ago
Hi. Congrats on the completion of this project. An extra features you can add is to store the themes state using browser localstorage so that your site can maintain the theme state even if the page was reload. Right now if I switch to darkmode and reload the web page its switching back to the default theme. Using browser storage to store the theme and accessing the themes based on user preference will prevent this from happening. https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
Marked as helpful1@Yehan20Posted over 1 year ago@coderdannie hey yes , i also thought about that firstly , i guess id give it a try as bonus
0
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