This project demonstrates a simple currency converter built with HTML, CSS, and JavaScript. It leverages the ExchangeRate API to provide real-time currency conversion rates.
The currency converter supports the following currencies:
- AED (United Arab Emirates Dirham)
- ARS (Argentine Peso)
- AUD (Australian Dollar)
- BGN (Bulgarian Lev)
- BRL (Brazilian Real)
- ... (and more)
Before you begin, ensure you have the following:
- Basic understanding of HTML, CSS, and JavaScript
- A code editor (such as Visual Studio Code or Sublime Text) to write and save your code
- index.html: The main HTML file containing the structure for the currency converter.
- style.css: CSS file for styling the converter.
- script.js: JavaScript file responsible for fetching exchange rates and performing conversions.
- country-list.js: Javascript file responsible for all storing all the country codes.
- Clone this repository to your local machine.
- Open index.html in your web browser.
- Enter the amount in the base currency (e.g., USD).
- Select the target currency from the dropdown.
- Click the "Get Exchange Rate" button to see the converted amount.
We use the ExchangeRate API to fetch real-time exchange rates. You'll need to sign up for an API key and replace the placeholder in script.js with your actual key.
Feel free to customize and enhance this project as needed. Happy coding! 🚀
Remember to replace the placeholder paths and add your own preview image. If you haven't already, sign up for the [ExchangeRate API](https://www.exchangerate-api.com/) to obtain your API key.
Feel free to modify this README to suit your project's specifics. Good luck with your currency converter! 🌟