REST Countries API - Using Vanilla JS, HTML and CSS

Solution retrospective
Hey guys, I would love some feedback on my code. If anything looks out of place or doesn't make sense, please let me know! Would really appreciate your time and help, thanks!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @ChamuMutezva
Well done Sara. One thing to take care of : when searching on mobile and maybe the name of the country appears in the search, selecting it adds an empty space at the end result in a no selection. Trim for empty spaces on search. Hope that's clear. Happy coding
Marked as helpful - @ApplePieGiraffe
Hello there, Sara! 👋
Good job on this challenge! 👏 Your solution works well! 👍
I think it would be nice if you were able to search for different countries within the selected region filter. Currently, filtering the countries based on region changes the countries that are shown on the page, but you can still search and find countries outside of the selected filter.
Also, you could experiment with having the width of the country cards grow a bit when there's extra space around them (just so that there isn't too much empty space between them at certain screen widths). 😉
Hope those one or two small tips help. 🙂
Keep coding (and happy coding, too)! 😁
Marked as helpful
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