Design comparison
Solution retrospective
This is my solution for the REST Countries API application. I am a free user, and do not have access to the design files from the Pro version. I built this app using React, Next.js, TailwindCSS, React Hook Forms, Axios, and Next Themes.
Technologies Used:
- React
- React Hook Forms
- Next.js
- TailwindCSS
- Next Theme
I am most proud of the display and interactions that I added to the project. It feels snappy and responsive!
What challenges did you encounter, and how did you overcome them?My initial struggle was getting the search and region filter working as expected. Once I settled on an approach, I was able to accomplish that relatively quickly.
What specific areas of your project would you like help with?I had trouble implementing the filters and using their respective API endpoints. I think the best way to manage that would be setting up a Context Provider and Reducer. Does anyone have a good resource for this approach?
Community feedback
- @Mahmoud-ElagamyPosted 16 days ago
Thank you for developing the Rest Countries API app! It has a lot of useful features, but I noticed a few areas that could enhance the functionality and user experience:
404 Error on Reloading the Details Page:
When I navigate to the details page of a country and then refresh the page, a 404 error occurs. This issue interrupts the user experience, especially for those who might reload the page by accident or out of habit. It would be helpful if the app handled page reloads on country detail pages without showing an error.
Search Functionality Within Regions:
I observed that after selecting the Asia region, if I search for a country in Africa, no results are displayed, which is expected. However, displaying a message like "No results found" or a similar notification could improve the UX by clarifying why no countries appear in the search.
Dark Mode Text and Icon:
When switching to Dark Mode, I noticed the theme updates correctly, but the button text and icon remain as "Dark Mode." Updating these elements to reflect the active mode (e.g., switching to "Light Mode" with a corresponding icon) would make the toggle more intuitive and consistent for users.
Thank you for considering this feedback! I’m looking forward to seeing these improvements in future updates.
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