Update index.html
Browse files- index.html +5 -5
index.html
CHANGED
@@ -31,8 +31,8 @@
|
|
31 |
<!-- From & To Currency -->
|
32 |
<div class="currency-select">
|
33 |
<div class="currency-group">
|
34 |
-
<label for="from">From:</label>
|
35 |
-
<select id="from">
|
36 |
<option value="USD">๐บ๐ธ USD</option>
|
37 |
<option value="EUR">๐ช๐บ EUR</option>
|
38 |
<!-- Add other currencies here -->
|
@@ -42,8 +42,8 @@
|
|
42 |
<button id="swap-btn" onclick="swapCurrencies()">โ
</button>
|
43 |
|
44 |
<div class="currency-group">
|
45 |
-
<label for="to">To:</label>
|
46 |
-
<select id="to">
|
47 |
<option value="EUR">๐ช๐บ EUR</option>
|
48 |
<option value="USD">๐บ๐ธ USD</option>
|
49 |
<!-- Add other currencies here -->
|
@@ -51,7 +51,7 @@
|
|
51 |
</div>
|
52 |
</div>
|
53 |
|
54 |
-
<button id="convert-btn">Convert</button>
|
55 |
<p id="result"></p>
|
56 |
</div>
|
57 |
</section>
|
|
|
31 |
<!-- From & To Currency -->
|
32 |
<div class="currency-select">
|
33 |
<div class="currency-group">
|
34 |
+
<label for="from-currency">From:</label>
|
35 |
+
<select id="from-currency">
|
36 |
<option value="USD">๐บ๐ธ USD</option>
|
37 |
<option value="EUR">๐ช๐บ EUR</option>
|
38 |
<!-- Add other currencies here -->
|
|
|
42 |
<button id="swap-btn" onclick="swapCurrencies()">โ
</button>
|
43 |
|
44 |
<div class="currency-group">
|
45 |
+
<label for="to-currency">To:</label>
|
46 |
+
<select id="to-currency">
|
47 |
<option value="EUR">๐ช๐บ EUR</option>
|
48 |
<option value="USD">๐บ๐ธ USD</option>
|
49 |
<!-- Add other currencies here -->
|
|
|
51 |
</div>
|
52 |
</div>
|
53 |
|
54 |
+
<button id="convert-btn" onclick="convertCurrency()">Convert</button>
|
55 |
<p id="result"></p>
|
56 |
</div>
|
57 |
</section>
|