Rest Countries with color switcher.

Solution retrospective
While building this project I encounter different challenges some of which I was eventually able to handle but some aspects are still unclear to me.
In the area of getting individual countries languages, nativeName, currency was a tough one which I had to leave blank as the structure in the api was not suitable for all the countries.
I will really need honest reply as to how my code base is and I also need help on how to easily render the stated informations about individual countries.
On a final note, when the search result has no match from the data I get an error response from the api which made it difficult for me to display a message as a result of empty search result. I will also like to know how to better handle this.
Thanks.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Usman Nurudeen's solution.
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