Responsive & Dynamic Country info website
Design comparison
Solution retrospective
I learnt how to fetch a bunch of data dynamically from a json file.
Took me about 6-8 hours
What challenges did you encounter, and how did you overcome them?Had some difficulties creating the filter function.
What specific areas of your project would you like help with?I’d like to know how to save the dark mode on the page even after reload.
Community feedback
- @TedJenklerPosted 3 months ago
Hi Christian, Nice submission! I really like the grid layout and how you made it responsive—it’s well-implemented and visually appealing.
I did find an issue when clicking the flags; it seems like there might be a missing checks for conditional rendering. Using optional chaining (.?) could help handle cases where data might be undefined or null.
Additionally, I’d recommend adding a custom select component and fine-tuning the CSS details to make your project really stand out. These improvements would enhance the overall user experience and polish the look of your project.
*You need to use localstorage.get() and localstorage.set() to save the theme state
Overall, great job!
Marked as helpful1@ChristianKayceePosted 3 months ago@TedJenkler Alright, thanks. I’ll work on that later.
1@TedJenklerPosted 3 months ago@ChristianKaycee No problem! I would appreciate a marked helpful vote if you found the information valuable. Anyway, have fun coding! :)
0@ChristianKayceePosted 3 months ago@TedJenkler No problem, I’d also appreciate if you could take a look at the site again.
1
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