A responsive and user-friendly web application that allows users to convert currencies in real-time using the latest exchange rates. Built with HTML, CSS, and JavaScript, the app fetches live data from a public API and includes country flags for a better visual experience.
- Real-time currency conversion
- Switch between "From" and "To" currencies
- Country flags displayed dynamically
- Fully responsive and clean UI
- Intelligent default selection (USD to INR)
- Frontend: HTML, CSS, JavaScript
- API: ExchangeRate-API
- Flag Provider: FlagsAPI
├── index.html # Main HTML structure
├── style.css # App styling
├── app.js # Currency conversion logic & event handling
├── codes.js # Currency-country code mapping
-
Clone the repository:
git clone https://github.com/your-username/currency-converter.git
-
Navigate to the project directory:
cd currency-converter
-
Open
index.html
in your browser.
- Add currency search functionality
- Show historical exchange rate chart
- Add dark/light theme toggle