Country Information Display

I completed a challenge through FrontEndMentor to build an application that queries the REST Countries API and displays the information found there.

The application queries the API and stores all country information in state. It uses country codes to generate dynamic routes through react-router that display more detail on each country. The list is searchable by country name, and filterable by region.

The site has a color mode switcher that is tracked through state. The user’s preference is stored in local storage.

Tools used

  • CSS
  • React
  • REST API
View the Live SiteView Source Code on GitHub