A simple web-based currency converter that allows users to convert between different currencies using real-time exchange rates.
- Convert between 150+ world currencies
- Real-time exchange rates via ExchangeRate-API
- Country flag display for selected currencies
- Responsive design that works on mobile and desktop
- Simple and intuitive user interface
- HTML5
- CSS3
- JavaScript (ES6)
- ExchangeRate-API (v6)
- FlagsAPI for country flags
- Font Awesome icons
- Enter the amount you want to convert
- Select the source currency from the "From" dropdown
- Select the target currency from the "To" dropdown
- Click "Get Exchange Rate" button
- View the converted amount below the button
You can also swap the currencies by clicking the exchange icon between the dropdowns.
This project uses a free-tier API key from ExchangeRate-API. For production use, you should:
- Get your own API key from ExchangeRate-API
- Replace the key in the
script.jsfile (base_url variable)
No installation required - just open the index.html file in any modern web browser.
For development:
- Clone the repository
- Open the project in your favorite code editor
- Make changes as needed
- ExchangeRate-API for providing the currency data
- FlagsAPI for the country flags
- Font Awesome for the icons