-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (64 loc) · 2.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=\, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="app.css" />
<title>CryptoHub</title>
</head>
<body>
<div class="container">
<div class="row justify-content-center">
<h1 class="col-7 text-center mt-2">Crypto Hub</h1>
<h4 class="col-7 text-center mt-2">By Bitan</h4>
<div
class="col-md-6 row justify-content-center main fix"
id="allContaint"
>
<div class="col-10">
<form action="" id="searchForm">
<div class="form-row">
<div class="col-12 form-group">
<label for="coin">
<span style="font-weight: 700">Coin type</span>
</label>
<select class="form-control" name="coinType" id="coin">
<option value="bitcoin">Bitcoin</option>
<option value="dogecoin">Dogecoin</option>
<option value="ethereum">Ethereum</option>
<option value="polkadot">Polkadot</option>
<option value="tether">Tether</option>
</select>
</div>
</div>
<button type="submit" class="col-12 btn btn-primary">
Get Price
</button>
</form>
</div>
</div>
<div
class="col-md-7 text-center row justify-content-center align-items-center"
id="result"
style="margin-top: 100px"
>
<table
class="p-4 col-md-7"
border="1px"
style="background-color: white; font-weight: 700"
id="resTable"
></table>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script src="app.js"></script>
</body>
</html>