Update index.html
Browse files- index.html +9 -9
index.html
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<header>
|
11 |
<nav class="navbar">
|
12 |
<div class="logo">
|
13 |
-
<img src="logo.png" alt="
|
14 |
</div>
|
15 |
</nav>
|
16 |
</header>
|
@@ -25,25 +25,25 @@
|
|
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 |
<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()"
|
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" onclick="convertCurrency()"
|
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
|
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="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">
|
29 |
</div>
|
30 |
|
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 -->
|
39 |
</select>
|
40 |
</div>
|
41 |
|
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>
|
|
|
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>
|