Yehan20 / Where-In-The-World

This project is from a challenge by Frontend Mentor.API project that displays a list of countries and lets users view details about each country. with a dark and light mood

Home Page:https://yn-where-in-the-world.netlify.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

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 (optional)

Screenshot

Links

My process

Built with

Tools and technologies used

  • Vite
  • Custom Hooks
  • TS Interfaces
  • React Router 6

What I learned

My first project using react with type script, learnt a alot and gained lots of experience , mainly learnt to use intefaces in type script and manage props that is been send to components and use them to add types. learnt use framer motion for animations. there was alot of modifiying the api data to a way to make it more easy to use

Author

About

This project is from a challenge by Frontend Mentor.API project that displays a list of countries and lets users view details about each country. with a dark and light mood

https://yn-where-in-the-world.netlify.app/


Languages

Language:TypeScript 98.2%Language:HTML 1.8%