First attempt at REST Countries API Challenge using React

Solution retrospective
This is my first attempt at this challenge.
I think my main aim in the next attempt is to separate out the components even more.
I've deviated from using the v2 API and used the newer version of the REST Countries API instead.
I think there are a few things to improve which I'll add in my future attempts:
- Better error handling when I get a bad request from the API not related to my query.
- Using localstorage to store the dark mode preference.
- Using media queries to load preferences?
Anyway, let me know what you think and what I could do to improve the app!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @slothmast3r
Hey! Great work! I have to say your project is super fast and smooth. What I want to say that you need to work on your error handling for example Antarctica doesnt show up at all because of some undefined keys. Good luck!
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