Skip to content

This is a solution for the REST Countries Frontend Mentor challenge.

Notifications You must be signed in to change notification settings

Klrfl/rest-countries

Repository files navigation

Frontend Mentor - REST Countries API with color theme switcher solution

screenshot

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. I made this site with Astro, and vanilla CSS for the styling. The site is live at klrfl-countries.netlify.app.

Overview

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)

development

This project uses PNPM, so install that first. After that you can clone this repo, then install all the deps, then running a development server:

# If you don't have pnpm
npm install -g pnpm

# If you use SSH
git clone git@github.com:Klrfl/rest-countries.git

# If you use HTTPS
git clone https://github.com/Klrfl/rest-countries.git

cd rest-countries
pnpm install
pnpm run dev

About

This is a solution for the REST Countries Frontend Mentor challenge.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published