Thanks for checking out my solution for this front-end coding challenge.
The challenge is to integrate the REST Countries API to pull country data and display it like in the designs.
Users are able to:
- See all countries from the API on the homepage
- Search for a country using an
input
field - Filter countries by region
- Click on a country to see more detailed information on a separate page
- Click through to the border countries on the detail page
- Toggle the color scheme between light and dark mode (optional)
Solution Live demo
For this solution i've used React and Sass. I've worked on routing, redirecting, data fetching in React and data filtering (filters by parts of the world and filtering with search field).
If you want to clone repository and ajust this solution for your needs you'll need to follow some steps.
Clones repository to your local enviroment.
Installs project dependencies (React and Sass).
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
Builds the app for production to the build folder.
If you have questions about this project or want to work with me feel free to send me a message.
📧 Email: [email protected]
🌐 Web: yelyzaveta.netlify.app