Spaces:
Running
Running
File size: 2,180 Bytes
9ff76f0 d53e7dd 9ff76f0 af437bf d53e7dd af437bf d53e7dd af437bf 4ed7334 d53e7dd af437bf d53e7dd 9ff76f0 4ed7334 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Currency Converter</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Navbar -->
<div class="navbar">
<div class="logo">
<img src="logo.png" alt="Logo">
</div>
<p>Welcome to Currency Converter</p>
</div>
<hr>
<!-- Headline and Explanation -->
<div class="headline">
<h1>Currency Converter</h1>
<p>Check live foreign exchange rates and convert currencies with ease!</p>
</div>
<!-- Content (Converter) -->
<div class="content">
<div class="converter">
<div class="currency-labels">
<label for="amount">Amount</label>
<input type="number" id="amount" placeholder="Enter amount">
</div>
<div class="currency-labels">
<label for="from-currency">From</label>
<select id="from-currency">
<option value="USD">USD</option>
<option value="EUR">EUR</option>
<option value="GBP">GBP</option>
</select>
</div>
<button id="swap-btn" onclick="swapCurrencies()">↕</button>
<div class="currency-labels">
<label for="to-currency">To</label>
<select id="to-currency">
<option value="EUR">EUR</option>
<option value="USD">USD</option>
<option value="GBP">GBP</option>
</select>
</div>
<button id="convert-btn" onclick="convertCurrency()">Convert</button>
<p id="result"></p>
</div>
</div>
<!-- Footer (About, Social Media, Copyright) -->
<footer>
<p><strong>About:</strong> Currency Converter App</p>
<p><strong>Follow us:</strong> <a href="#">Facebook</a> | <a href="#">Twitter</a></p>
<p>© 2025 Currency Converter App. All rights reserved.</p>
</footer>
<script src="script.js"></script>
</body>
</html> |