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

Countries API built with React

Avitohol_ 190

@Avitohol1

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


Thanks to this challenge I learned new things about React Router and React as a whole. I know my code is not perfect so any feedback would be appreciated!

Community feedback

@TheRoamer-2901

Posted

Your app functionalities are working correctly but there is a little performance issue when the page load is a bit slow, I guess that is a consequence of continuously fetching API, using context may help you improve your performance. When searching, the flag of country also sometimes stretches too much that it breaks the original ratio so I think you can make a small adjustment to make it scale according to the size of your page. Anyway, congrats on completing this challenge.

Marked as helpful

0

Avitohol_ 190

@Avitohol1

Posted

@TheRoamer-2901 Thank you for your feedback. I fixed the country width and I will look into the performance issue!

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