Skip to content

MonikaCyprys/countries-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Countries-react-app

Frontend Mentor - REST Countries API with color theme switcher solution

[NOT WORKING API ANYMORE] This is a solution to the REST Countries API challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

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

Screenshot

desktop preview

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • React - JS library
  • CSS modules - For styles
  • REST API

What I learned

  • create functional and class components in react
  • use callbacks to lift up data
  • use API to get data
  • divide componnents and styles
  • use react router
  • JSX Syntax

Useful resources

Author