REST Countries API with color theme switcher solution

Solution retrospective
When I started this challenge I was a little doubtful of this belonging to the 'Advanced' category. I thought it was pretty simple, and maaaaan I wrong lol.
This exercise challenged me a lot, and for the first time I noticed the advantages of working with TypeScript. Although, the development of this project was a slow in order to meet TypeScript requirements, at the moment of refactoring the code TypeScript shined and made me avoid big mistakes.
Unfortunately I worked from beginning to end with the mockup data provided in the challenge started pack. And I did not notice that the API end-point changed its structure; thus I could not integrate the API to my project. Though I could have fixed it, since I made the API call and got all the countries, I did not consider I could learn something new by refactoring that part of the code. Therefore, I left it like that and commented the fetching data part.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Guillermo'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