Skip to content

iamspruce/react-rest-countries-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 solution to this challange was created by Spruce

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
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Desktop-first workflow
  • React - JS library

What I learned

As this is my first reactjs project i can say i learned alot from this project, i learned how to use React proper and got to practice everything i have been learning about react, the fetch api was quite interesting, and i can say I'm not really proud of the codes i write as their was lot of repetition but i do hope to learn how to do this better in my coming react projects...

Continued development

I would still focus on props and state managements in future projects and redux too

Author

Acknowledgments

I would love to give a shout out to frontendmentor fro creating this helpful challenges for web devs like me who are looking for amazing projects to work on.