Update index.html
Browse files- index.html +22 -22
index.html
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<header>
|
11 |
<nav class="navbar">
|
12 |
<div class="logo">
|
13 |
-
<img src="logo.png" alt="Logo">
|
14 |
</div>
|
15 |
</nav>
|
16 |
</header>
|
@@ -25,33 +25,33 @@
|
|
25 |
<!-- Amount -->
|
26 |
<div class="currency-box">
|
27 |
<label for="amount">Amount:</label>
|
28 |
-
<input type="number" id="amount" placeholder="Enter amount">
|
29 |
</div>
|
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 |
-
</div>
|
53 |
|
54 |
-
<button id="convert-btn" onclick="convertCurrency()">Convert</button>
|
55 |
<p id="result"></p>
|
56 |
</div>
|
57 |
</section>
|
@@ -65,7 +65,7 @@
|
|
65 |
</div>
|
66 |
<div class="step">
|
67 |
<h3>2. Select Your Currencies</h3>
|
68 |
-
<p>Choose the currency you want to convert.</p>
|
69 |
</div>
|
70 |
<div class="step">
|
71 |
<h3>3. That's It</h3>
|
|
|
10 |
<header>
|
11 |
<nav class="navbar">
|
12 |
<div class="logo">
|
13 |
+
<img src="logo.png" alt="Currency Converter Logo">
|
14 |
</div>
|
15 |
</nav>
|
16 |
</header>
|
|
|
25 |
<!-- Amount -->
|
26 |
<div class="currency-box">
|
27 |
<label for="amount">Amount:</label>
|
28 |
+
<input type="number" id="amount" placeholder="Enter amount" aria-label="Amount to convert">
|
29 |
</div>
|
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" aria-label="Select the currency you are converting 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()" aria-label="Swap currencies">โ
</button>
|
43 |
|
44 |
+
<div class="currency-group">
|
45 |
+
<label for="to">To:</label>
|
46 |
+
<select id="to" aria-label="Select the currency you are converting 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()" aria-label="Convert currency">Convert</button>
|
55 |
<p id="result"></p>
|
56 |
</div>
|
57 |
</section>
|
|
|
65 |
</div>
|
66 |
<div class="step">
|
67 |
<h3>2. Select Your Currencies</h3>
|
68 |
+
<p>Choose the currency you want to convert from and to.</p>
|
69 |
</div>
|
70 |
<div class="step">
|
71 |
<h3>3. That's It</h3>
|