Welcome to the Currency Converter project! This application allows you to effortlessly convert between different currencies in real-time using the latest exchange rates. Whether you're a traveler, a business professional, or just someone curious about currency values, this tool is designed to be your go-to solution for quick and accurate conversions.
- Real-Time Exchange Rates: Fetches up-to-date conversion rates from a reliable API.
- Wide Range of Currencies: Supports multiple currencies from around the world, including USD, EUR, INR, JPY, and more.
- User-Friendly Interface: Simple, clean, and intuitive UI that makes currency conversion a breeze.
- Flag Display: Visual representation of selected currencies with country flags.
- Error Handling: Proper error messages in case of network issues or unsupported currency pairs.
To get started with this project, follow these simple steps:
-
Clone the repository:
git clone https://github.com/yourusername/currency-converter.git
-
Navigate to the project directory:
cd currency-converter
-
Open
index.html
in your preferred web browser. You can also use a live server extension in VSCode or any other IDE for a better experience.
- Enter the amount you want to convert in the input field.
- Select the currency you are converting from.
- Select the currency you want to convert to.
- Click the "Get Exchange Rate" button.
- The converted amount will be displayed along with the corresponding exchange rate.
- index.html: The main HTML file containing the structure of the app.
- currency.css: The CSS file for styling the application.
- currency.js: Contains the logic for fetching exchange rates and updating the UI.
- code.js: Handles UI interactions, such as selecting currencies and updating flags.
Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or submit a pull request. Let's make this project even better together!
- Thanks to FlagsAPI for the country flag images.
- Exchange rates powered by the Currency API.