Rest Countries API with Advanced Searching Options and Translations
Design comparison
Solution retrospective
I strongly focused on building semantically correct and accessible site. Site loads with user locale language, if translation for that language doesn't exist then English is as default. Handle a lot of edge cases. I added Advanced Searching Options and More Info to the design. Everything is integrated, so you can combine multiple search options at once. Page has multiple loading states.
Advanced Searching Options:
- possibility of choose multiple regions
- sorting alphabetically or by population
- show countries based on independence status or landlocked status or UN Member status or traffic
- Searching text is wrapped in
<mark>
element and it has its ownbackground-color
to distinct searching phrase.
More Info Tab:
- displays more information
- displays in modal Google Map with country location or
<img>
with coat of arms of the country
Used Frameworks:
- React
- SASS
Used Libraries:
- axios (for fetching data)
- i18next (for translations)
- downshift (for accessible region select element)
Community feedback
- @maakosu2Posted over 1 year ago
wow, this is the most inspiring project I have seen, so far, I followed on GitHub and and font end mentors, my email is [email protected], I wish to work and learn from you.
1
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