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 Country info with night mode using Reactjs

@rammyblog

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

Community feedback

gomezlucas 1,115

@gomezlucas

Posted

Hey Onasanya! Nice work! There are some issues with the logic of the filters though. For example, when you choose a Region and then type a country, the country is shown even though it is not part of that continent. You could set the default or remove the value of those filters when another one is used. Or join them and show just one result, which is achievable using React Js. Also there is a bug when you click "filter by region".

It's a good practice to play with the logic of this kind of challenges. When I did it It help me to understand States and life Cycles. Let me know if u have any doubt or what i said doesnt make sense :)

1

@rammyblog

Posted

@gomezlucas Thank you.

Will look into them

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