This is a simple Currency Exchange Rate Calculator web app that allows users to convert amounts between different global currencies. The app fetches live exchange rates using the ExchangeRate-API and updates the conversion values in real-time.
- Live Exchange Rates: Fetches the latest exchange rates from the ExchangeRate-API.
- Multiple Currencies Supported: Choose from 60+ global currencies such as USD, INR, EUR, and more.
- Swap Functionality: Allows you to easily swap the selected currencies.
- Responsive Design: Optimized for both desktop and mobile views.
- Automatic Calculation: Input a value in one currency, and it will automatically calculate the equivalent value in the other currency.
- Select the currency for both the "From" and "To" dropdown menus.
- Enter the amount in the first currency field.
- The app will automatically fetch the exchange rate and calculate the converted amount.
- Press the Swap button to switch the currencies and recalculate the conversion.
- HTML5: Structure of the app.
- CSS3: Styling for the user interface.
- JavaScript (ES6): Handles API requests and dynamically updates the DOM.
- ExchangeRate-API: Provides real-time exchange rates.
This project uses the ExchangeRate-API
to fetch live exchange rates. You can get your own API key from ExchangeRate-API.