Skip to content

trun0/Country-Details

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

A React app made with REST Country API to show details about countries.

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

Screenshots

Home-Light

Home-Dark

Country-Light

Country-Dark

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • React - JS library
  • REST Countries - REST Country API

What I learned

I learned how to use API and how to use it to get desired response. I learned how to use react props more efficiently. Also, I have learned more about flexbox and css grid. I learned how to design beautiful frontend with this project.

Continued development

I look forward to to learn new concepts of React and make this project better.

Useful resources

  • CSS-TRICKS - This helped me to get hold of flexbox. I really liked the content and will use it going forward.
  • JsonOnline - This site helped me to see the api responses in an organized way.

Author

Tarun Kumar

  • Frontend Mentor - trun0

Acknowledgments

I want to thank my friend who actively motivated me to do projects and learn new concepts.

About

Country Details website using REST Country API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors