How to Use

  • Enter Amount: Type the amount to convert in the input field (e.g., 100).

  • Select Currencies: Choose the source and target currencies from the dropdowns (e.g., USD to EUR).

  • View Result: The converted amount appears in the result field, updated instantly as you change inputs.

  • Copy to Clipboard: Click "Copy" to copy the result (e.g., "92.00 EUR") to your clipboard.

  • Input Validation: Displays an error if the amount is invalid (non-numeric or negative).

Features

  • Responsive Design: Uses Tailwind CSS for a clean, mobile-friendly interface.

  • Real-Time Conversion: Updates the result instantly as you change the amount or currencies.

  • Supported Currencies: Includes USD, EUR, GBP, JPY, and CAD with static exchange rates (sample data: 1 USD = 0.92 EUR, 0.78 GBP, 149.50 JPY, 1.36 CAD).

  • Copy Functionality: Easily copy the result to the clipboard.

  • Precision: Results are rounded to 2 decimal places for currency formatting.