-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (81 loc) · 2.55 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
<!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>BlockChain demo</title>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Staatliches&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="public/icon/favicon.ico" />
<link rel="shortcut icon" href="public/icon/favicon.ico" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="public/icon/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="public/icon/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="public/icon/favicon-16x16.png"
/>
<link rel="manifest" href="public/icon/site.webmanifest" />
<link rel="stylesheet" href="public/styles/style.css" />
</head>
<body>
<h1 class="heading">
BlockChain<span style="font-size: xx-small"> (demo)</span>
<hr />
</h1>
<div class="container">
<div class="block">
<div class="data-div">
<label for="data">DATA:</label>
<input
class="data"
type="text"
name="data"
value="Welcome blockchain demo"
/>
</div>
<div class="prev-div">
<label for="prev">prev.HASH</label>
<input class="prev" type="text" name="prev" value="0" readonly
style="background-color: rgba(123, 113, 113, 0.455); color:white"/ >
</div>
<div class="next-div">
<label for="next">HASH</label>
<input
class="next"
type="text"
name="next"
value=""
readonly
style="background-color: rgba(123, 113, 113, 0.455); color: white"
/>
</div>
<input type="hidden" value="1" />
<button class="nonce">Mine</button>
<button class="addbtn">Add block</button>
</div>
</div>
<!-- <hr /> -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/js-sha256/0.9.0/sha256.js"
integrity="sha512-8WAv/Z7UaDv0U1DCJ3W1oul76HOvq2/9mc+IbOZGsTj9iwZnnCXL/0FS6GQKNR++krdfVn9kuAAQ6v2DqZ9uEQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script defer src="./src/index.js"></script>
</body>
</html>