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

React with ViteJs, Framer-Motion, React Router,React Icons, Css

@FlavioRoman

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


For this project use react router since I am learning how to use it, I am still learning about react router to be able to use it correctly, if you have a tip or any questions, feel free to write as it would help me too

Community feedback

Aleksei 200

@AlekseiBestuzhev

Posted

Hello.

When you open a country-specific page in border countries, you have languages in their native script. There should be countries in the form of buttons that send to the country page.

Also, I would advise you to send requests to the server. Or if you still want to receive data from a file, then I would move the loader function to the utils folder. I would also change

if (filter !== null && filter !== "") {...}

to

if (filter) {...}

And don't forget to handle the missing fields. Like the capital of Antarctica. Good luck!

Marked as helpful

0

@FlavioRoman

Posted

Thanks for the advice and taking the time to do it, I will work on it, thanks.

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