Skip to content

A tool used to search for countries all over the world and their data

Notifications You must be signed in to change notification settings

Thesaleem/Rest-Countries-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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 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
  • Flexbox
  • SpinKit Library - Loading animations
  • Mobile-first workflow
  • Vanilla Javascript

What I learned

Practiced using the MVC architecture I learnt sometime back, really helped with my understanding of breaking codes down into smaller structures which can simply help in debugging. Also used Parcel as a bundler to manage the modules. I also put into practice error handling and how to display it especially during a 404 error.

Continued development

Moving forward, I'd love to build more projects to understand the architecture better and even use a framework like React to help with faster builds.

Useful resources

  • Stack Overflow - The developer communit here helps to answer questions when you feel stuck.
  • SpinKit Library - An amazing resource for a whole lot of loading animations which us very easy to use.
  • Undraw - A lot of illustrations are available here for your designs.
  • Nerdcave - A tailwind css cheatsheet that has all available tailwind css property and it's very easy to navigate.

Author

Acknowledgments

Thankful for all the online tutors that have brought me this far.

About

A tool used to search for countries all over the world and their data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published