wojtek0123 / rest-countries-api

Frontend mentor challenge. App helps to find out more about countries.

Home Page:https://rest-countries-api-sage.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - REST Countries API with color theme switcher solution

This is a solution to the REST Countries API with color theme switcher challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

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

Links

Built with

  • React
  • TypeScript
  • React Router
  • Semantic HTML5 markup
  • Mobile-first workflow

What I learned

  • how to set a dynamic key in object in TS
  • how to add light and dark mode

Useful resources

  • Stack Overflow - This helped me with TypeScript and other less important things.

About

Frontend mentor challenge. App helps to find out more about countries.

https://rest-countries-api-sage.vercel.app


Languages

Language:TypeScript 64.2%Language:CSS 27.9%Language:HTML 7.9%