Design comparison
Solution retrospective
This is a web application that displays information about countries from an Api, it displays information such as region, population, currency of different countries. It has a search functionality that allows users to search for their country of interest. The app also contains a toggle feature that allows users to toggle between light and dark mode. The app is responsive on different screen sizes.
Any feedback is highly appreciated.
Community feedback
- @md5daltonPosted about 2 years ago
Hi Franklyn 👋
When implementing a theme changer on your website It's always good for a great user experience when you save the user's preferences so that they don't have to select their preferred theme again after they refresh or visit the page again. You can achieve this by using
localStorage
to save their preferences.Since you're using react, you can even write your own
ThemeProvider
that you can reuse across all your apps that need that functionality.Great work on your react folder structure. 👌
Marked as helpful0@franklynwisdomPosted about 2 years ago@md5dalton Thanks a lot for your feedback. I work on saving the user's preferences and hopefully, I should be a ble to implement it successfully. I will add the task to my to-do list and create time to work on it.
Thanks a lot.
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