Skip to content

v4voloshyn/react-countries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live View Projet on Vercel: Live view

Used tools:

  • React.js
  • React-Router-DOM v6 {Routes, Navigate, Link, useNavigate, useParams}
  • Axios
  • Styled-Components
  • React-Select
  • React-Icons

REST Countries API with color theme switcher

This project form FrontendMentor.io: Link

Task Brief

Your challenge is to integrate with the REST Countries V2 API to pull country data and display it like in the designs.

You can use any JavaScript framework/library on the front-end such as React or Vue. You also have complete control over which packages you use to do things like make HTTP requests or style your project.

Your users should be 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)
  • Download the starter code and go through the README.md file. This will provide further details about the project. The style-guide.md file is where you'll find colors, fonts, etc.

Screenshot