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.
The solution to this challange was created by Spruce
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)
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Desktop-first workflow
- React - JS library
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...
I would still focus on props and state managements in future projects and redux too
- Website - Spruce.com.ng
- Frontend Mentor - @iamspruce
- Twitter - @sprucekhalifa
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.