A web-based currency converter application built using JavaScript. This application allows users to convert amounts from one currency to another based on exchange rate API conversion rate.
- Real-time Exchange Rates: Fetches up-to-date exchange rates from a reliable API.
- Multiple Currencies: Supports conversion between various global currencies.
- User-Friendly Interface: Simple and intuitive design for easy use.
- HTML5: Structure and layout of the app.
- CSS3: Styling and responsive design.
- JavaScript: Dynamic content and interaction.
- API: ExchangeRate-API for fetching conversion rate between currencies.
1. Clone the repository:
- git clone https://github.com/yourusername/currency-converter.git
- cd weather-app
2. open index.html
To fetch conversion rate data, you need an API key from ExchangeRate-API. Follow these steps:
1. Go to ExchangeRate-API and sign up for an API key.
2. Replace YOUR_API_KEY in the script.js file with your actual API key:
- let api = 'https://v6.exchangerate-api.com/v6/YOUR_API_KEY/latest/USD';