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.
In this project I learned how to use React Router and other React Hooks.
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: frontendmentor.io
- Live Site URL: https://kremenovic-rest-countries-api.netlify.app/
- Semantic HTML5 markup
- SCSS
- Flexbox
- React - JS library
I learned how to use React Router Hook and what's the purpose of useCallback hook.
- SASS Guidlines - This helped me to learn SASS file structuring, mixins etc.
This command installs a package and any packages that it depends on.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!