-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
48 lines (48 loc) · 1.55 KB
/
index.html
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
<!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" />
<link
rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>💵</text></svg>"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
</head>
<body>
<div class="container">
<h2 class="heading">Currency Converter 💸</h2>
<div class="from">
<select name="from" id="from">
<option value="USD">USD</option>
</select>
<input
type="number"
name="from-currency"
id="from-currency"
value="1"
min="0"
/>
</div>
<button class="rainbow-btn" id="swap">
<span><i class="fa-solid fa-arrow-right-arrow-left"></i></span>
</button>
<div class="to">
<select name="to" id="to">
<option value="INR">INR</option>
</select>
<input type="number" name="to-currency" id="to-currency" disabled />
</div>
<p id="conversion-info">Conversion info shown here</p>
</div>
<script src="index.js"></script>
</body>
</html>