Update index.html
Browse files- index.html +17 -6
index.html
CHANGED
|
@@ -14,12 +14,15 @@
|
|
| 14 |
</header>
|
| 15 |
|
| 16 |
<form id="currencyForm">
|
|
|
|
| 17 |
<div class="form-group">
|
| 18 |
<label for="amount">Amount</label>
|
| 19 |
<input type="number" id="amount" placeholder="Enter amount" value="10.00" required>
|
| 20 |
</div>
|
| 21 |
|
|
|
|
| 22 |
<div class="currency-selectors">
|
|
|
|
| 23 |
<div class="currency-group">
|
| 24 |
<label for="fromCurrency">From</label>
|
| 25 |
<select id="fromCurrency" required>
|
|
@@ -35,10 +38,14 @@
|
|
| 35 |
</select>
|
| 36 |
</div>
|
| 37 |
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
| 41 |
|
|
|
|
| 42 |
<div class="currency-group">
|
| 43 |
<label for="toCurrency">To</label>
|
| 44 |
<select id="toCurrency" required>
|
|
@@ -55,11 +62,15 @@
|
|
| 55 |
</div>
|
| 56 |
</div>
|
| 57 |
|
| 58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
</form>
|
| 60 |
|
| 61 |
-
<div id="result"></div>
|
| 62 |
-
|
| 63 |
<footer>
|
| 64 |
<p>© 2025 Teggar Eka Mustaqim Sitanggang. All Rights Reserved.</p>
|
| 65 |
</footer>
|
|
|
|
| 14 |
</header>
|
| 15 |
|
| 16 |
<form id="currencyForm">
|
| 17 |
+
<!-- Label Amount -->
|
| 18 |
<div class="form-group">
|
| 19 |
<label for="amount">Amount</label>
|
| 20 |
<input type="number" id="amount" placeholder="Enter amount" value="10.00" required>
|
| 21 |
</div>
|
| 22 |
|
| 23 |
+
<!-- Label From, Swap, and To -->
|
| 24 |
<div class="currency-selectors">
|
| 25 |
+
<!-- From Section -->
|
| 26 |
<div class="currency-group">
|
| 27 |
<label for="fromCurrency">From</label>
|
| 28 |
<select id="fromCurrency" required>
|
|
|
|
| 38 |
</select>
|
| 39 |
</div>
|
| 40 |
|
| 41 |
+
<!-- Swap Button -->
|
| 42 |
+
<div class="swap-group">
|
| 43 |
+
<button type="button" id="swapButton" aria-label="Swap Currencies">
|
| 44 |
+
<i class="fas fa-arrows-alt-v"></i>
|
| 45 |
+
</button>
|
| 46 |
+
</div>
|
| 47 |
|
| 48 |
+
<!-- To Section -->
|
| 49 |
<div class="currency-group">
|
| 50 |
<label for="toCurrency">To</label>
|
| 51 |
<select id="toCurrency" required>
|
|
|
|
| 62 |
</div>
|
| 63 |
</div>
|
| 64 |
|
| 65 |
+
<!-- Result Section -->
|
| 66 |
+
<div id="result" class="result-box">
|
| 67 |
+
Result will appear here
|
| 68 |
+
</div>
|
| 69 |
+
|
| 70 |
+
<!-- Convert Button -->
|
| 71 |
+
<button type="submit" class="convert-button">Convert</button>
|
| 72 |
</form>
|
| 73 |
|
|
|
|
|
|
|
| 74 |
<footer>
|
| 75 |
<p>© 2025 Teggar Eka Mustaqim Sitanggang. All Rights Reserved.</p>
|
| 76 |
</footer>
|