REST Countries API with color theme switcher solution

Solution retrospective
What do you think of this solution attempt?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @denielden
Hi Kevin, great work on this challenge! 😉
Here are a few tips for improve your code:
- remove all unnecessary code, the less you write the better as well as being clearer: for example the
figure
tag container of flag image - you can use
ul
instead multiplep
tag for the details of country - instead using
margin
toCountry
class for separate the cards try to usegap: 3rem
to.country-list
class - instead of using
px
use relative units of measurement likerem
-> read here - if I type a query that doesn't give any results, nothing happens, try adding a "no results" message
- I would also add a query reset button, I find it very convenient
Overall you did well 😁 Hope this help!
- remove all unnecessary code, the less you write the better as well as being clearer: for example the
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