Skip to content

Responsive Countries API application with color theme switcher. Built with React and Sass. Challenge from frontendmentor.io

Notifications You must be signed in to change notification settings

gelizabeth/countries-react-sass-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: liza.guyvan1@gmail.com
🌐 Web: yelyzaveta.netlify.app

About

Responsive Countries API application with color theme switcher. Built with React and Sass. Challenge from frontendmentor.io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published