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.
A React app made with REST Country API to show details about countries.
Users should be able to:
- See all countries from the API on the homepage
- Search for a country using an
inputfield - 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
- Solution URL: https://github.com/trun0/REST-Countries-API-with-color-theme-switcher
- Live Site URL: https://rest-country-api-with-theme-switcher.netlify.app
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- React - JS library
- REST Countries - REST Country API
I learned how to use API and how to use it to get desired response. I learned how to use react props more efficiently. Also, I have learned more about flexbox and css grid. I learned how to design beautiful frontend with this project.
I look forward to to learn new concepts of React and make this project better.
- CSS-TRICKS - This helped me to get hold of flexbox. I really liked the content and will use it going forward.
- JsonOnline - This site helped me to see the api responses in an organized way.
Tarun Kumar
- Frontend Mentor - trun0
I want to thank my friend who actively motivated me to do projects and learn new concepts.



