CurrencyConverter5 / index.html
GarGerry's picture
Update index.html
a86345b verified
raw
history blame
1.76 kB
<!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 -->
<nav class="navbar">
<div class="container">
<span class="brand-logo">BrandLogo</span>
<span class="welcome-message">Welcome to the Currency Converter</span>
</div>
</nav>
<!-- Headline and Explanation -->
<header class="headline">
<h1>Currency Converter</h1>
<p>Easily convert currencies in a matter of seconds.</p>
</header>
<!-- Converter Section -->
<section class="converter-section">
<div class="converter-box">
<input type="number" id="amount" placeholder="Enter amount">
<select id="from-currency">
<option value="USD">USD</option>
<option value="EUR">EUR</option>
</select>
<select id="to-currency">
<option value="EUR">EUR</option>
<option value="USD">USD</option>
</select>
<button id="swap-btn">Swap</button>
<button id="convert-btn">Convert</button>
<div id="result">Result will be displayed here</div>
</div>
</section>
<!-- How to Use -->
<section class="how-to-use">
<h2>How to Use the Converter</h2>
<div class="step-box">
<h3>1</h3>
<p>Enter the amount you want to convert.</p>
</div>
<div class="step-box">
<h3>2</h3>
<p>Select the currencies to convert from and to.</p>
</div>
<div class="step-box">
<h3>3</h3>
<p>See the result instantly.</p>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<p>About | Social Media | © 2025 Your Website</p>
</footer>
</body>
</html>