Submitted over 2 years ago
REST Countries API with color theme switcher solution
@mrfinesse47
Design comparison
SolutionDesign
Solution retrospective
What do you think of this solution attempt?
Community feedback
- @denieldenPosted over 2 years ago
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!
1@mrfinesse47Posted over 2 years ago@denielden thank you for the feedback, i'm ready to swear off pixels for the next project. The ul is a good idea as well for a list of details, i'm not sure why I didn't think of that. The search input can be improved as well I agree.
1 - remove all unnecessary code, the less you write the better as well as being clearer: for example the
Please log in to post a comment
Log in with GitHubJoin 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