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: Add solution URL here
- Live Site URL: Add live site URL here
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- React - JS library
- Vite - Frontend Tooling
- Styled Components - For styles
- Typescript
- React Select - Select library
- React Helmet - Head manager for React
- PNpm - Package manager
- Conventional Commits - A specification for commit messages
- A better folders architecture with React Hooks, Context and Types.
- Theming with Styled Components.
- Cache with localStorage.
- PNPM as my package manager.
- Conventional Commits.
I want to use Frame Motion for some page transitions and implement tests with Cypress.
- About Convetional Commits - This helped me for a better understanding about Conventional Commits.
- Folder architecture - This article helped me with some ideas for my project folder architecture.
- Frontend Mentor - @viniciuscosta89
- LinkedIn - @viniciuscosta89