Spaces:
Running
Running
Update index.html
Browse files- index.html +19 -17
index.html
CHANGED
|
@@ -11,23 +11,25 @@
|
|
| 11 |
<h1>Currency Converter</h1>
|
| 12 |
<form id="currencyForm">
|
| 13 |
<input type="number" id="amount" placeholder="Enter amount" required>
|
| 14 |
-
<
|
| 15 |
-
<
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
<
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
|
|
|
|
|
|
| 31 |
<button type="submit">Convert</button>
|
| 32 |
</form>
|
| 33 |
<div id="result"></div>
|
|
|
|
| 11 |
<h1>Currency Converter</h1>
|
| 12 |
<form id="currencyForm">
|
| 13 |
<input type="number" id="amount" placeholder="Enter amount" required>
|
| 14 |
+
<div class="currency-selectors">
|
| 15 |
+
<select id="fromCurrency" required>
|
| 16 |
+
<option value="USD">USD</option>
|
| 17 |
+
<option value="EUR">EUR</option>
|
| 18 |
+
<option value="GBP">GBP</option>
|
| 19 |
+
<option value="IDR">IDR</option>
|
| 20 |
+
<option value="JPY">JPY</option>
|
| 21 |
+
<!-- Add other currencies as needed -->
|
| 22 |
+
</select>
|
| 23 |
+
<span>to</span>
|
| 24 |
+
<select id="toCurrency" required>
|
| 25 |
+
<option value="USD">USD</option>
|
| 26 |
+
<option value="EUR">EUR</option>
|
| 27 |
+
<option value="GBP">GBP</option>
|
| 28 |
+
<option value="IDR">IDR</option>
|
| 29 |
+
<option value="JPY">JPY</option>
|
| 30 |
+
<!-- Add other currencies as needed -->
|
| 31 |
+
</select>
|
| 32 |
+
</div>
|
| 33 |
<button type="submit">Convert</button>
|
| 34 |
</form>
|
| 35 |
<div id="result"></div>
|