-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (40 loc) · 1.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"
integrity="sha512-MV7K8+y+gLIBoVD59lQIYicR65iaqukzvf/nwasF0nqhPay5w/9lJmVM2hMDcnK1OnMGCdVK+iQrJ7lzPJQd1w=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet">
<title>Currency Converter</title>
</head>
<body>
<div class="currency-container">
<div class="currency-header">
<img src="img/header.png" alt="">
<h2>Currency converter</h2>
</div>
<div class="currency-content">
<label for="input">Amount:</label> <br>
<input requireNumber required type="text" value="100" id="input">
<p class="error-message"></p>
<div class="currency-options">
<select id="from-currency-select"></select>
<button>
<i class="fa-solid fa-rotate"></i>
</button>
<select id="to-currency-select"></select>
</div>
<button class="convert-btn">Convert</button>
<p class="result"></p>
</div>
</div>
<script src="js/app.js"></script>
</body>
</html>