Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Rest Countries theme switcher

@AliSherTR

Desktop design screenshot for the REST Countries API with color theme switcher coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
4advanced
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am proud that I completed this challenge in only 5 hours

What challenges did you encounter, and how did you overcome them?

Performance issue for rendering 250 countries, so I used infinite scroll and useCallBack hook to resolve the performance issues and another one was to filter the countries based on the input or select value so I programmed it in a way that no api call would be done when input or select value changes

What specific areas of your project would you like help with?

none

Community feedback

@Mahmoud-ElAgamy

Posted

Hey, I've been using your Rest Countries API and have been impressed with its overall functionality. However, I did encounter a minor issue when reloading a country's details page. After navigating to a specific country's page and then refreshing the browser, a 404 error is displayed.

Marked as helpful

0

@AliSherTR

Posted

@Mahmoud-ElAgamy I'll check it out maybe some issue with vercel and react-router-dom

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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