-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (62 loc) · 2.01 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Currency Converter using API</title>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="./css/style.css" />
</head>
<body>
<div class="container">
<div class="heading">
<div class="app-details col-12 text-center">
<script src="https://cdn.lordicon.com/bhenfmcm.js"></script>
<lord-icon
src="https://cdn.lordicon.com/zchxlapl.json"
trigger="loop"
delay="2000"
colors="primary:#121331"
style="width: 100px; height: 100px"
>
</lord-icon>
<h1 class="app-title">Currency Converter</h1>
</div>
</div>
<form class="input form-inline p-1 d-flex justify-content-center gap-5">
<div>
<label for="amount" class="display-6 fs-3 p-2">Amount:</label>
</div>
<div>
<input
type="number"
class="form-control my-2"
id="amount"
value="1"
/>
</div>
</form>
<div class="dropdowns">
<select id="from-currency-select"></select>
<select id="to-currency-select"></select>
</div>
<button id="convert-button">Convert</button>
<div class="row text-center mt-3 display-6">
<p id="result"></p>
</div>
</div>
<div class="loading">
<div class="spinner-border text-warning"></div>
</div>
<script src="./js/script.js"></script>
</body>
</html>