Skip to content

A frontendmentor challenge based on making a web app where you can search up information about countries around the world.

Notifications You must be signed in to change notification settings

purplehippo911/country-search

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

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

Mobile: Mobile Screenshot

Desktop: Mobile Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • Tailwind CSS
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • React - JS library
  • Next.js - React framework
  • Zustand - React state management

What I learned

I got to brush up on my knowledge about array methods, because I was working a lot with them, when I was rendering the country's information from the API. Learnt some basic NextJS and replaced img-element with Next's Image-element, to easier render images. Also got to learn some about object methods.

Continued development

I'll focus on learning React Native and Firebase to make a productivity app.

Useful resources

Author

Acknowledgments

This guys version of the app helped me when I was stuck: Yusufneeson

Where I got this icon from: Left arrow icons created by Freepik - Flaticon

About

A frontendmentor challenge based on making a web app where you can search up information about countries around the world.

Topics

Resources

Stars

Watchers

Forks