The website is displaying list of coutries, their details and flags. It uses data from REST Countries
Key features
- see all the countries on the homepage
- search for a coutry using an
input
field - filter countries by region
- click on a coutry 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
- use magnifier to see flag details
- Live Site URL: where-countries.netlify.app
-
Clone the repository:
git clone [email protected]:Hanka8/FM-rest-api-countries.git
-
Navigate into the project directory:
cd FM-rest-api-countries
-
Install the dependencies:
using npm:
npm install
using yarn:
yarn install
-
Start the development server:
npm run dev
-
Open the app in your browser:
The application should be running at http://localhost:5173 (or another port if specified by Vite). You can open this URL in your browser to view the app.
- React - JS library
- TypeScript
- Vite
- Axios - Promise-based HTTP client
- Framer Motion - for smooth animations
- Image Magnifier.
- UPDATE 1: using ThemeContext instead of prop drilling
- Website - Hana Maruškevičová
- This is a solution to the REST Countries API with color theme switcher challenge on Frontend Mentor