Skip to content

This is a solution to the REST Countries API with color theme switcher challenge on Frontend Mentor

Notifications You must be signed in to change notification settings

siavhnz/rest-countries-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 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.

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

screenshot

Links

My process

  • Preparing workflow(Installing React, Adding assets, Preparing README.md)
  • Creating Components
  • Working on mobile design based on design folder - 357px
    • Installing Fonts, Preflight css, Working on design
  • Working on tablet and desktop design based on design folder
  • Working on functionality
    • Load data, Search, Filter using react-router-dom
    • Toggle between dark and light mode

Built with

  • React
  • React Router
  • Css Module
  • Flex, Grid, Custom variable
  • Semantic HTML5 markup
  • Mobile first workflow

What I learned

In this project I learned to use React Router (loader and action)

Continued development

More on React, React Router, Framer-Motion and some other libraries

Useful resources

React Router

Author

Acknowledgments

Thanks To

Frontendmentor.io - for their Excitement challenges

Perfect Pixel - for such a great extension

About

This is a solution to the REST Countries API with color theme switcher challenge on Frontend Mentor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published