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)
- Solution URL: mySolution
- Live Site URL: My live site
- Semantic HTML5 markup
- Tailwind CSS
- Flexbox
- CSS Grid
- Mobile-first workflow
- React - JS library
- Next.js - React framework
- Zustand - React state management
I got to brush up on my knowledge about array methods, because I was working a lot with them, when I was rendering the country's information from the API. Learnt some basic NextJS and replaced img
-element with Next's Image
-element, to easier render images. Also got to learn some about object methods.
I'll focus on learning React Native and Firebase to make a productivity app.
- NextJS Crashcourse by NetNinja - This helped me get started with NextJS. I really liked this channel and will use it going forward.
- Website - Purplehippo's website
- Frontend Mentor - @purplehippo911
- Twitter - @muggie43
This guys version of the app helped me when I was stuck: Yusufneeson
Where I got this icon from: Left arrow icons created by Freepik - Flaticon