Country Explorer Website
Country Info Explorer 🌍
Overview
Country Info Explorer is a simple web application that allows users to explore information about countries around the world. It fetches real-time data from the REST Countries API and displays details in a clean, user-friendly interface.
The app is built with Python Flask, HTML, Bootstrap, and uses a local background image for visual appeal.
⸻
Features
1. Search for a Country
• Enter a country name to view:
• Flag
• Population
• Languages
• Currency
• Region
2. Compare Two Countries
• Side-by-side comparison of any two countries
• Displays all the same details for easy comparison
3. Live API Integration
• Fetches data directly from the REST Countries API
• Always displays the latest country information
4. Visual Enhancements
• Local image (picture123.jpg) used as full-page background
• Semi-transparent cards for readability over the background
• Responsive layout with Bootstrap for mobile and desktop
Usage
• Home Page:
Search for a country by name. The app displays the country’s flag, population, languages, currency, and region.
• Compare Page:
Enter two country names to see a side-by-side comparison of their key data.
• Background:
The page uses a custom image for a visually appealing experience.
⸻
Future Improvements
• Add clickable region maps for countries
• Allow searching by capital or region
• Include additional info like timezones, neighboring countries, or GDP
• Add email notifications for selected country updates
• Implement user login to save favorite countries
⸻
Credits
• REST Countries API: https://restcountries.com/
• Bootstrap: https://getbootstrap.com/