-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (86 loc) · 2.6 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bitcoin Halving Estimation</title>
<!-- Agrega tus estilos CSS aquí -->
<style>
/* Define tus estilos CSS según tus preferencias */
body {
font-family: Arial, sans-serif;
}
.column {
float: left;
width: 33.33%;
padding: 10px;
box-sizing: border-box;
}
.result {
font-weight: bold;
}
</style>
<!-- defer loads html first then JS -->
<script defer type="text/javascript" src="halving.js"></script>
</head>
<body>
<div class="column" id="blockchair-column">
<h2>Blockchair</h2>
<p id="blockchair-block"></p>
</div>
<div class="column" id="average-column">
<h2>Average</h2>
<p id="average-block"></p>
</div>
<div class="column" id="result-column">
<h2>Result</h2>
<p class="result" id="result-block"></p>
</div>
<main>
<ul class="count-down">
<span class="label">
Time Remaining
</span>
<li>
<span id="time-estimate"></span>
</li>
</ul>
<ul class="count-down">
<span class="label">
Halving Date
</span>
<li>
<span id="halving-date"></span>
</li>
</ul>
<ul>
<span class="label">
Current Block Height
</span>
<li>
<span id="current-block-height"></span>
</li>
</ul>
<ul>
<span class="label">
The Halving Block
</span>
<li>
<span id="halving-block"></span>
</li>
</ul>
<ul>
<span class="label">
Blocks Remaining
</span>
<li>
<span id="remaining-blocks"></span>
</li>
</ul>
</main>
<script>
// Tu código JavaScript para obtener datos y realizar cálculos
// Define tus funciones para obtener datos y calcular el promedio y otros cálculos
</script>
</body>
</html>