-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (86 loc) · 2.65 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!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" />
<title>CurCal Live Exchange Rate</title>
<link rel="stylesheet" href="./style.css" />
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css"
rel="stylesheet"
/>
<link rel="shortcut icon" href="img/favicon.png" />
</head>
<body>
<main>
<nav>
<div class="title">
<h1>CurCal</h1>
</div>
<p></p>
</nav>
<section>
<div>
<h1>
CurCal Live <br />
Exchange Rate
</h1>
<p id="date" class="date"></p>
</div>
<p></p>
</section>
<div class="mainSection">
<div class="currencyCalculator">
<div class="padding">
<div class="textContent">
<h1>
Currency <br />
Calculator
</h1>
<br />
<p>
Choose the currency and the <br />amounts to get the exchange
rate
</p>
</div>
<div class="currencySelect">
<div class="selector">
<div class="leftBox">
<label for="currency">FROM</label>
<select name="currency" class="currency" id="from"></select>
</div>
<div class="rightBox">
<label for="currency">TO</label>
<select name="currency" class="currency" id="to"></select>
</div>
</div>
<div class="swapCurrency" onClick="switchText()">
SWAP CURRENCY
</div>
</div>
<div class="currencySelect">
<div class="leftBox">
<label for="">AMOUNT</label>
<input type="number" id="num" placeholder="0" />
</div>
<div class="swapCurrency" id="btn">CALCULATE</div>
<p id="ans" class="currencyAnswer">0</p>
<img src="./img/rate.svg" alt="" />
</div>
</div>
</div>
</div>
</main>
<img src="./img/bg-vector.1b89fc42.svg" alt="" class="bg" />
<a
href="https://github.com/chaitanyashimpi/currency-exchange"
target="_blank"
>
<span class="github"></span>
<i class="fab fa-github githublogo"></i>
</a>
</body>
<script src="./script.js"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
</html>