GarGerry commited on
Commit
5f2420a
ยท
verified ยท
1 Parent(s): 82f3840

Update index.html

Browse files
Files changed (1) hide show
  1. 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>