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 with JavaScript

gomezlucas 1,115

@gomezlucas

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

P
Matt Studdert 13,611

@mattstuddert

Posted

Awesome work on this challenge, Lucas! Just a quick heads up that you could add object-fit: cover; to the .card-image img declaration block to make sure the flags cover their containing element 👍

1

P
Matt Studdert 13,611

@mattstuddert

Posted

@gomezlucas you're welcome! Yeah, just give me a shout if you have any questions.

0
gomezlucas 1,115

@gomezlucas

Posted

@mattstuddert Thanks Matt! I tried a lot of things to make it fit i forgot about that! I will do some changes to the logic as well, not 100% happy with the way it is working. I ll let you know if I have any doubt. Thanks again!

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