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: Repository Project
- Live Site URL: Result Live
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Responsive Web Design(RWD)
- Typescript
- React - JS library
- Hooks React - Hooks(useState)
- Context API - Context API
- react-router-dom - Library React
- Font-Awesome - Icons
- FETCH API JS
- REST Countries API - API Countries
- Bem Metodolody CSS Architecture - BEM CSS Architecture
- WebAcessibility with arias attributers, and roles
- Website - Portefólio Samuel Amaro
- Frontend Mentor - @Samuel-Amaro
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
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!
See the section about deployment for more information.