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.
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)
Homepage on light and dark mode
The details page when a country is clicked to see more info about it
- Solution URL: https://github.com/Willwf/rest-countries-api
- Live Site URL: https://rest-countries-api-willwf.vercel.app/
- Semantic HTML5 markup
- Flexbox
- Mobile-first workflow
- React - JS library
- Styled Components - For styles
- Vite.js - Bundler JS
- React Router - Component for Client Side Routing
- React Query - Hooks for fetching, caching and updating asynchronous data in React
- Mantine - React components Library
- Ionicons - Open source icons
This was a challenging experience because I was able to use many new techniques that I hadn't used before. I tried to always use something new to solve a problem or to accomplish a task in a different way than I had before. Only to feel challenged and expand my knowledge. Even while doing simple things that I previously took for granted, I sometimes got stuck for hours before discovering that just one line of code would solve the problem. It's always interesting to use new techniques in programming.
I feel the need to learn more things but I'm still not sure of where to go. What I want for my next project is to use Typescript, but the rest is unclear to me. I guess I should just keep going.
- ChatGPT - This helped me to discover and use a lot of things that I was not used to. Even when I got some wrong responses or out of date information, I was able to extract something that helped me to finish or advance in a feature. It's an amazing tool for a student when used well.
- Stack Overflown - Like always, I could not have got this far without it.
- Github - William Firmino
- Frontend Mentor - @Willwf
- Twitter - @Williamwf
- LinkedIn - William Firmino