Skip to content

AyllaChristinne/rest-countries

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.

Check out the live site

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 a search 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

Desktop

desktop-light.png desktop-dark.png desktop-details.png

Mobile

mobile-light.png mobile-dark.png mobile-details.png

My process

Built with

What I learned

With this project, I was able to reinforce concepts of the life cycle of React components and the use cases of each hook (especially useEffect). Furthermore, for the first time I configured ESLint and Jest from scratch in a project, and got to know and use the Mock Service Worker.

A topic that I already knew, but that I delved deeper into with this project, was the BEM pattern and the Context API. For the first time, too, I made a theme switcher from scratch.

Continued development

What I want to continue focusing on in future projects is web accessibility and the different types of tests that can be done.

Author

About

REST Countries API with color theme switcher Challenge from Frontend Mentor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published