-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (60 loc) · 2.4 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
<!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="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
<title>BTC Converter App</title>
</head>
<body>
<section class="container formCont">
<div class="card ">
<header class="card-header">
<h1 class="card-header-title">Bitcoin Converter</h1>
</header>
<div class="card-content converter is-fullwidth">
<form method="GET" class="field has-addons">
<p class="control">
<span class="select">
<select class="curSymOptions" name="currency" id="currencyArea">
<option value="AUD">Select Currency</option>
</select>
</span>
</p>
<p class="control is-expanded">
<input class="input" id="userInputValue" name="value" value="100" type="number" placeholder="How much would you like to convert?">
</p>
</form>
</div>
<div class="card-content">
<h1 id="result">
<span id="enteredValue"></span>
<span id="enteredCur"></span> <i class="fab fa-btc"></i>
<span id="convertedValue"></span>
</h1>
<h1 id="warning">Warning Area</h1>
</div>
</div>
</section>
<section class="container excRatesCont mt-6">
<div class="card">
<header class="card-header">
<p class="card-header-title">Bitcoin Exchange Rates</p>
</header>
<table class="card-content table is-bordered is-hoverable is-fullwidth is-narrow">
<thead>
<tr class="has-text-centered">
<th class="">Currency Name</th>
<th>1 BTC Price</th>
</tr>
</thead>
<tbody class="card-content" id="curTableBody">
</tbody>
</table>
</div>
</section>
<script src="app.js"></script>
</body>
</html>