Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 1.72 KB

README.md

File metadata and controls

52 lines (30 loc) · 1.72 KB

REST Countries API with color theme switcher - Frontend Mentor challenge

Design preview for the REST Countries API with color theme switcher coding challenge

Welcome! 👋

Thanks for checking out my solution for this front-end coding challenge.

The 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).

Instalation and use

If you want to clone repository and ajust this solution for your needs you'll need to follow some steps.

$ git clone https://github.com/gelizabeth/countries-react-sass-api.git

Clones repository to your local enviroment.

npm install

Installs project dependencies (React and Sass).

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

npm run build

Builds the app for production to the build folder.

Contact me

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