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

REST Countries API with color theme switcher solution

Guillermo 250

@Guille-Sanchez

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


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.

Community feedback

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