REST Countries API with color theme switcher Full responsive | React
Design comparison
Solution retrospective
Pretty awesome challenge. The challenging part was navigating details using border countries. after all, this project has the ability to add to your portfolio
Community feedback
- @coderdanniePosted almost 2 years 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 light mode 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 Happy coding
1@devvsakibPosted almost 2 years ago@coderdannie wow! that should be a great feature if I store the theme state in localStorage!! thanks for the suggestions
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