GarGerry commited on
Commit
ce7e52c
·
verified ·
1 Parent(s): ac3ffc0

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +30 -40
index.html CHANGED
@@ -1,43 +1,33 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Currency Converter</title>
7
- <link rel="stylesheet" href="style.css">
8
- </head>
9
- <body>
10
- <div class="container">
11
- <header>
12
- <h1>Currency Converter</h1>
13
- <p>Check Live Foreign Currency Exchange Rate</p>
14
- </header>
15
-
16
- <div class="converter">
17
- <input type="number" id="amount" placeholder="Amount" />
18
- <div class="currency-select">
19
- <select id="from-currency">
20
- <option value="USD">USD</option>
21
- <option value="EUR">EUR</option>
22
- <option value="GBP">GBP</option>
23
- </select>
24
- <button id="swap-btn" onclick="swapCurrencies()">↔️</button>
25
- <select id="to-currency">
26
- <option value="EUR">EUR</option>
27
- <option value="USD">USD</option>
28
- <option value="GBP">GBP</option>
29
- </select>
30
- </div>
31
-
32
- <button id="convert-btn" onclick="convertCurrency()">Convert</button>
33
- <p id="result"></p>
34
- </div>
35
 
36
- <footer>
37
- <p>&copy; 2025 Currency Converter App. All rights reserved.</p>
38
- </footer>
 
 
 
 
 
 
 
 
 
 
 
39
  </div>
40
 
41
- <script src="script.js"></script>
42
- </body>
43
- </html>
 
 
 
 
 
 
 
1
+ <header>
2
+ <div class="logo">
3
+ <img src="logo.png" alt="Logo" />
4
+ </div>
5
+ <h1>Currency Converter</h1>
6
+ <p>Check Live Foreign Currency Exchange Rate</p>
7
+ </header>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
+ <div class="converter">
10
+ <input type="number" id="amount" placeholder="Amount" />
11
+ <div class="currency-select">
12
+ <select id="from-currency">
13
+ <option value="USD">USD</option>
14
+ <option value="EUR">EUR</option>
15
+ <option value="GBP">GBP</option>
16
+ </select>
17
+ <button id="swap-btn" onclick="swapCurrencies()">↔️</button>
18
+ <select id="to-currency">
19
+ <option value="EUR">EUR</option>
20
+ <option value="USD">USD</option>
21
+ <option value="GBP">GBP</option>
22
+ </select>
23
  </div>
24
 
25
+ <button id="convert-btn" onclick="convertCurrency()">Convert</button>
26
+ <p id="result"></p>
27
+ </div>
28
+
29
+ <footer>
30
+ <p><strong>About:</strong> Currency Converter App</p>
31
+ <p><strong>Follow us:</strong> <a href="#">Facebook</a> | <a href="#">Twitter</a></p>
32
+ <p>&copy; 2025 Currency Converter App. All rights reserved.</p>
33
+ </footer>