Spaces:
Running
Running
Update index.html
Browse files- index.html +60 -53
index.html
CHANGED
@@ -1,64 +1,71 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
</head>
|
9 |
<body>
|
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 |
-
</div>
|
40 |
-
</section>
|
41 |
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
</
|
53 |
-
<div class="step-box">
|
54 |
-
<h3>3</h3>
|
55 |
-
<p>See the result instantly.</p>
|
56 |
-
</div>
|
57 |
-
</section>
|
58 |
|
59 |
-
|
60 |
-
<footer class="footer">
|
61 |
-
<p>About | Social Media | © 2025 Your Website</p>
|
62 |
-
</footer>
|
63 |
</body>
|
64 |
</html>
|
|
|
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 |
+
<!-- Navbar -->
|
11 |
+
<header>
|
12 |
+
<nav class="navbar">
|
13 |
+
<div class="logo">
|
14 |
+
<h1>Currency Converter</h1>
|
15 |
+
</div>
|
16 |
+
<div class="welcome-message">
|
17 |
+
<p>Welcome to our Currency Converter!</p>
|
18 |
+
</div>
|
19 |
+
</nav>
|
20 |
+
</header>
|
21 |
|
22 |
+
<!-- How to Use Section -->
|
23 |
+
<section class="how-to-use">
|
24 |
+
<h2>How to Convert</h2>
|
25 |
+
<div class="steps">
|
26 |
+
<div class="step">
|
27 |
+
<h3>1. Enter the Amount</h3>
|
28 |
+
<p>Simply type the amount you want to convert in the input box.</p>
|
29 |
+
</div>
|
30 |
+
<div class="step">
|
31 |
+
<h3>2. Select Your Currencies</h3>
|
32 |
+
<p>Click the dropdown menu to choose USD in the first option as the currency you want to convert, and EUR in the second option as the currency you want to convert to.</p>
|
33 |
+
</div>
|
34 |
+
<div class="step">
|
35 |
+
<h3>3. That's It</h3>
|
36 |
+
<p>Our currency converter will show you the current exchange rate from USD to EUR and how it has changed over the past day, week, or month.</p>
|
37 |
+
</div>
|
38 |
+
</div>
|
39 |
+
</section>
|
40 |
|
41 |
+
<!-- Currency Converter Form -->
|
42 |
+
<section class="converter">
|
43 |
+
<h2>Currency Converter</h2>
|
44 |
+
<div class="form-container">
|
45 |
+
<input type="number" id="amount" placeholder="Enter amount" required>
|
46 |
+
<select id="from-currency">
|
47 |
+
<!-- Currency options will go here -->
|
48 |
+
</select>
|
49 |
+
<select id="to-currency">
|
50 |
+
<!-- Currency options will go here -->
|
51 |
+
</select>
|
52 |
+
<button onclick="convertCurrency()">Convert</button>
|
53 |
+
<p id="result"></p>
|
54 |
+
</div>
|
55 |
+
</section>
|
|
|
|
|
56 |
|
57 |
+
<!-- Footer -->
|
58 |
+
<footer>
|
59 |
+
<div class="footer-content">
|
60 |
+
<p>© 2025 Currency Converter | All Rights Reserved</p>
|
61 |
+
<div class="social-media">
|
62 |
+
<a href="#">Facebook</a>
|
63 |
+
<a href="#">Twitter</a>
|
64 |
+
<a href="#">Instagram</a>
|
65 |
+
</div>
|
66 |
+
</div>
|
67 |
+
</footer>
|
|
|
|
|
|
|
|
|
|
|
68 |
|
69 |
+
<script src="script.js"></script>
|
|
|
|
|
|
|
70 |
</body>
|
71 |
</html>
|