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 (session saved on localhost)
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- React - JS library
- Next.js - React framework
- Tailwind CSS - For styles
- Clean Code
# Clone this repository
$ git clone https://github.com/gustavomarim/search-countries-next.js.git
# Access project folder in your bash
$ cd search-countries-next.js
# Install all dependencies
$ npm install
# Run the application in development mode
$ npm run dev
# The server will start on port:3000 - acesse <http://localhost:3000>
I want to continue studying good software development practices, learning more about componentization of elements, reuse of functions and methods
There were so many references that I sought throughout the project that it would be too extensive to mention them without forgetting to mention someone. But sources like Stack Overflow, Tabnews, Medium and many other articles and documentation like Next.js itself, Typescript and Javascript helped me throughout the development.
Gustavo Dantas 🚀
Feito com ❤️ por Gustavo Dantas 👋🏽
Frontend Mentor - @gustavomarim