/country-information

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

Primary LanguageVue

Where in the world?

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

Github Live Site URL · Frontend Mentor Solution URL

Home

Table of contents

Features

  • 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
  • Responsive web design
  • Scroll to top

⬆︎ BACK TO TOP

Screenshot

Home

Home

Detail

Detail

Home RWD

Home - Light Mode

Detail RWD

Detail - Dark Mode
GIF

Home

Home

Detail

Detail

Theme Switcher

Theme

⬆︎ BACK TO TOP

Built with

  • Mobile-first workflow
  • Vue 3: JavaScript Framework
  • Vue Router 4: Official router for Vue
  • Pinia 2: Store library for Vue
  • Vite 4: Build tool
  • Axios 1: Promise based HTTP client for the browser and node.js

⬆︎ BACK TO TOP

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Installation

  1. Clone the repo
    git clone https://github.com/yuna9068/country-information.git
  2. Install NPM packages
    npm install
  3. Compile and Hot-Reload for Development
    npm run dev

⬆︎ BACK TO TOP

Acknowledgments

⬆︎ BACK TO TOP

Author

⬆︎ BACK TO TOP