A responsive web application that fetches and displays live data about countries using the REST Countries API. Built with HTML, CSS, and JavaScript.
- β Fetches country data (name, capital, region, population, flag)
- β Displays countries in modern, responsive card layouts
- π Search functionality by country name (real-time)
- π Region filter (Africa, Europe, Asia, etc.)
- π’ Sort countries by population (ascending/descending)
- π Pagination: Browse through countries page-by-page
- π± Fully responsive design for all screen sizes
- π Clean and attractive UI using Google Fonts and custom styling
- HTML5
- CSS3 (Responsive Grid, Media Queries, Hover Effects)
- JavaScript (Fetch API, DOM Manipulation)
- REST Countries API v3.1
- Clone the repository:
git clone https://github.com/dem205/country-explorer-app.git
Open the project folder:
cd country-explorer
Launch in your browser: Open index.html in your preferred web browser.
πΌοΈ Screenshots
Desktop View | Mobile View |
---|---|
![]() |
![]() |
country-explorer/
βββ index.html
βββ styles.css
βββ script.js
βββ README.md
βββ /screenshots
π TODO (Optional Enhancements) Dark mode toggle βοΈπ
Lazy loading images or infinite scroll
Region summary or statistics
Country detail modal or page
π License
This project is open-source and available for educational use.
π¨βπ» Author
Ademilade Ogundele β€
Frontend Web Developer | Aspiring Software Engineer
π§ [email protected]