Create Backup-html
Browse files- Backup-html +39 -0
Backup-html
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<h1>Currency Converter</h1>
|
12 |
+
<form id="currencyForm">
|
13 |
+
<input type="number" id="amount" placeholder="Enter amount" required>
|
14 |
+
<div class="currency-selectors">
|
15 |
+
<select id="fromCurrency" required>
|
16 |
+
<option value="USD">USD</option>
|
17 |
+
<option value="EUR">EUR</option>
|
18 |
+
<option value="GBP">GBP</option>
|
19 |
+
<option value="IDR">IDR</option>
|
20 |
+
<option value="JPY">JPY</option>
|
21 |
+
<!-- Add other currencies as needed -->
|
22 |
+
</select>
|
23 |
+
<span>to</span>
|
24 |
+
<select id="toCurrency" required>
|
25 |
+
<option value="USD">USD</option>
|
26 |
+
<option value="EUR">EUR</option>
|
27 |
+
<option value="GBP">GBP</option>
|
28 |
+
<option value="IDR">IDR</option>
|
29 |
+
<option value="JPY">JPY</option>
|
30 |
+
<!-- Add other currencies as needed -->
|
31 |
+
</select>
|
32 |
+
</div>
|
33 |
+
<button type="submit">Convert</button>
|
34 |
+
</form>
|
35 |
+
<div id="result"></div>
|
36 |
+
</div>
|
37 |
+
<script src="script.js"></script>
|
38 |
+
</body>
|
39 |
+
</html>
|