The challenge was to integrate with the REST Countries API to pull country data and display it like in the designs.
You can find this challenge on Frontend Mentor.
The following are the features implemented:
- Fetch and display all countries on the homepage.
- Search country by name
- 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
- Reduced the number of fetches to 1
- Removed unwanted packages (ex: axios);
- Refactored JS
- Refactored CSS
- Added Pagination