REST Countries API app with Dark Mode

Please log in to post a comment
Log in with GitHubCommunity feedback
- @denielden
Hi Raj, good job! I took some time to look at your code and have some ideas for improving it:
- add
main
tag and wrap the content of page for improve the Accessibility - in the details page border countries are missing
- add discernible text to Buttons and hide with
hidden
class - to make it look as close to the design as possible remove
.p-5
class to div of card country and use another div with.p-5
for the under text information - the
background
of dark mode doesn't cover the whole page but only the beginning - if you want to use the capital for the
href
attribute you have to parse it inurl
, it can give problems creating links with empty spaces or special characters - 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
- to make all flag images the same height use the
object-fit: cover
property
Overall you did well 😉
Hope this help and happy coding!
Marked as helpful - add
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