Skip to content

Bielframos/where-in-the-world

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

Screenshot

Solution in desktop Solution in desktop dark mode Solution in desktop dark mode Solution in desktop dark mode Solution in desktop dark mode Solution in desktop dark mode Solution in desktop dark mode Solution in desktop dark mode

Links

My process

Built with

What I learned

This was a real challenge, with it I understood the structure of Svelte better and used most of the basic and more advanced concepts of the framework, reactivity, data fetching, routing and much more.

It is worth taking into account that I am used to developing using React and Next.js and starting to code with a new structure and in fact different from the React standard established on the web is a certain challenge.

Useful resources

The Svelte documentation was my faithful ally in this challenge.

Author