Submitted almost 2 years ago
React | Typescript | TailwindCSS | ContextAPI (theming)
@igomonteiro
Design comparison
SolutionDesign
Solution retrospective
Used endpoints
- /all -> home page
- /alpha/{code} -> details page
- /alpha?codes={code},{code},{code} -> details page to get border countries name and code (cca2)
Future improvements
-
Componentize the back/border countries button
-
Refact some code (maybe implement Container/Presentational pattern)
-
Implement the API response type/interface
-
The countries select "dropdown" needs to be styled
-
Add loading states
Community feedback
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