Skip to content

astroud/react-countries

Repository files navigation

react-countries

React Countries Browser with darkmode using REST Countries API

A Frontend Mentor challenge using the REST Countries API to display a filterable list of country facts and flags. Built with React and Styled Components.

View Site

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

Features

The challenge involved integrating with the REST Countries API to pull country data and display it like in the Frontend Mentor designs.

You can:

  • See all countries from the API on the homepage
  • Search for a specific country
  • Filter countries by region
  • Click on a country card to see more detailed information
  • Navigate countries using a country's border countries links
  • Back button mirrors browser's back button behavior
  • Toggle between light and darkmode. Browser remembers your preference (TODO: Fix initial flash when using darkmode)
  • Toggling theme modes triggers light on or off sound effects
  • Displays country card loaders during initial API call

About

React Countries Browser using Countries API with darkmode

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published