Skip to content

Vitruvius21/countries-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commit Activity Last Commit Issues Code Size Repo Size Top Language Languages

Frontend Mentor - REST Countries API with color theme switcher solution

Table of contents

Overview

The challenge

Users should be able to:

  • See all countries from the API on respective pages
  • Randomly switch countries on the homepage
  • Search for a country using an input field
  • Filter countries by continent
  • 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
  • Naviage by using pagination

Screenshot

light-mode screenshot dark-mode screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Modular JS
  • No JS libraries
  • Custom routing
  • Custom color scheme
  • Custom color scheme switcher
  • History API
  • Storage API
  • URL API
  • JSON API
  • AJAX