Currency Converter

Currency Converter
Currency Converter

Here's a simple guide on how to use the Currency Converter I provided:


How to Use the Currency Converter

  1. Enter the Amount
  • Type the amount you want to convert in the first input box.
  • Example: 1000
  1. Select the "From" Currency
  • Choose the currency you're converting from using the dropdown.
  • Example: INR (Indian Rupees)
  1. Select the "To" Currency
  • Choose the currency you're converting to using the second dropdown.
  • Example: USD (US Dollars)
  1. Click "Convert Currency"
  • The converted amount will appear in the second input box.
  • The result will also be displayed below the button.
  • Example:
    1000 INR = 13.37 USD

Example Conversion (Step-by-Step)

  1. Enter Amount: 5000
  2. From Currency: INR (Indian Rupee)
  3. To Currency: USD (US Dollar)
  4. Click "Convert Currency"
  5. Result:
  • Converted Amount: 66.85 (USD)
  • Message: 5000 INR = 66.85 USD

Important Notes

  • The converter uses hardcoded exchange rates (not real-time).
  • For accurate rates, you should connect to a currency API (like ExchangeRate-API or Open Exchange Rates).
  • If you enter an invalid amount (like 0 or text), it will show an error.