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

Responsive REST country API with react

P

@anna-dominguez

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


Dark mode not implemented

Community feedback

@kenankomah

Posted

When you click to filter for the Americas I noticed that it shows no results. I believe that this is happening because in the regions array there is a whitespace character in the string for Americas at the beginning so it is showing ' Americas' instead of 'Americas' this is what I saw in the code

const regions = ['Africa', ' Americas', 'Asia', 'Europe', 'Oceania']

I hope this helps

1

P

@anna-dominguez

Posted

@kenankomah Hello ! Thanks a lot, it was the whitespace character before "Americas" as you noticed 😁

0

@kenankomah

Posted

@Vesta-nna, you are welcome 🙂

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