Update index.html
Browse files- index.html +18 -18
index.html
CHANGED
@@ -30,26 +30,26 @@
|
|
30 |
|
31 |
<!-- From & To Currency -->
|
32 |
<div class="currency-select">
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
|
42 |
-
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
|
54 |
<button id="convert-btn" onclick="convertCurrency()">Convert</button>
|
55 |
<p id="result"></p>
|
|
|
30 |
|
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 -->
|
39 |
+
</select>
|
40 |
+
</div>
|
41 |
|
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 -->
|
50 |
+
</select>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
|
54 |
<button id="convert-btn" onclick="convertCurrency()">Convert</button>
|
55 |
<p id="result"></p>
|