File size: 1,764 Bytes
9ff76f0
 
 
a86345b
 
 
 
9ff76f0
 
a86345b
 
 
 
 
 
 
80f3229
a86345b
 
 
 
 
af437bf
a86345b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d53e7dd
a86345b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d53e7dd
a86345b
 
 
 
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
<!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>