Skip to content

🌎 Website to search for country information. Made with the Rest Countries API, React and Tailwind.

Notifications You must be signed in to change notification settings

cosmoart/Where-in-the-world

Repository files navigation

Email Instagram Discord Twitter

Where in the World?

A website that allows you to search information about countries. This is a solution to the REST Countries API with color theme switcher challenge on Frontend Mentor. Made with the Rest Countries API

Solution . Live Page

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
  • Toggle the color scheme between light and dark mode

Additional features:

  • URL path handling
  • Back to top button
  • Dark mode detection and saving themes to localStorage

Screenshots

Mobile solution Tablet solution Desktop solution

Links

My process

Built with

⬆️ Back to top

What I learned

This challenge was a great learning opportunity. I worked on different topics that helped me improve my knowledge of technologies such as React, Tailwind, Fetch and of course JS.

I also added some new features like the theme switch button or the path handling, for the latter I initially thought to use React Router but due to some changes of ideas React Router was no longer necessary so I decided to do the path handling with vanilla JS.

⬆️ Back to top

Author

⬆️ Back to top

About

🌎 Website to search for country information. Made with the Rest Countries API, React and Tailwind.

Topics

Resources

Stars

Watchers

Forks