Here’s a README.md for your Currency Converter project:
A simple, user-friendly currency converter that allows you to convert amounts between different currencies. It uses live exchange rates fetched from an external API to provide real-time conversion.
- Convert any amount from one currency to another.
- Supports multiple currencies like USD, INR, EUR, and more.
- Displays the exchange rate result in a clear, readable format.
- Responsive design that adapts well to mobile and desktop devices.
- Flags for the currencies are displayed next to the dropdowns for better UX.
-
Clone this repository to your local machine:
git clone https://github.com/your-username/currency-converter.git
-
Open the project folder:
cd currency-converter
-
Open
index.html
in your browser to see the project in action.
- Open the
index.html
file in any modern browser. - Enter the amount you want to convert.
- Select the From and To currencies using the dropdown menus.
- Click the Get Exchange Rate button to see the converted value.
- The result will display below the button in the format:
The exchange rate will be updated live, based on the most recent data.
1USD = 80INR
- HTML: For the structure of the page.
- CSS: To style the currency converter and make it visually appealing.
- JavaScript: For the logic of fetching currency exchange rates and displaying the result.
- API: The exchange rate data is fetched from ExchangeRate-API to get live exchange rates.
- ExchangeRate-API: Provides free currency exchange rate data.
- API Documentation
- The API used in this project is:
https://v6.exchangerate-api.com/v6/39e6e7ab8f6f6c15af507658/latest/USD
This project is open-source and available under the MIT License.
Feel free to contribute to this project!
This README provides a clean, structured way to explain your project to others, helping users understand the features, installation steps, and the technologies behind your currency converter.