A simple web-based currency converter that allows users to convert between different currencies using real-time exchange rates.
- Select source and target currencies from dropdowns with country flags.
- Enter the amount to convert.
- Fetches exchange rates from a public API.
- Displays the converted amount and updates country flags dynamically.
index.html
: Main HTML file with the UI.style.css
: Styles for the app.codes.js
: Contains the currency code to country code mapping.app.js
: Main JavaScript logic for fetching rates and updating the UI.
- Open
index.html
in your browser. - Select the currencies and enter the amount.
- Click "Get Exchange Rate" to see the conversion.
- Font Awesome for icons.
Exchange rates are fetched from:
https://raw.github.com/WoXy-Sensei/currency-api/main/api
Add a screenshot of the app below (replace the example path with your actual screenshot):