Skip to content

MA040999/countries-angular

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)

Links

My process

Built with

  • Semantic HTML5 markup
  • Tailwind CSS
  • CSS Grid
  • DaisyUI for some pre-built Tailwind CSS components
  • Mobile-first workflow
  • Angular

What I learned

  • Developing this project, I learnt how to work with CSS Grid and how to make responsive design with CSS Grid.

  • I also worked with Angular for the first time in this project and familiarized myself with the workflow of Angular like how to make a network request and how to go about managing data of the application.

  • Also, made sure to keep accessibility in mind while developing the project like keyboad navigation and screen reader accessibility.

  • Worked with CSS Variables to control the theme colors.

Author