-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (64 loc) · 2.64 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
<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>By Column Hack Game</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="maincontainer">
<div class="smallcontainer" id = 'small'>
<div class="fieldcontainer">
<div class="box 50" id='1' onclick="changecolor(this.id)"></div>
<div class="box 50" id='2' onclick="changecolor(this.id)"></div>
<div class="box 50" id='3' onclick="changecolor(this.id)"></div>
<div class="box 50" id='4' onclick="changecolor(this.id)"></div>
</div>
<div class="fieldcontainer">
<div class="box 51" id='5' onclick="changecolor(this.id)"></div>
<div class="box 51" id='6' onclick="changecolor(this.id)"></div>
<div class="box 51" id='7' onclick="changecolor(this.id)"></div>
<div class="box 51" id='8' onclick="changecolor(this.id)"></div>
</div>
<div class="fieldcontainer">
<div class="box 52" id='9' onclick="changecolor(this.id)"></div>
<div class="box 52" id='10' onclick="changecolor(this.id)"></div>
<div class="box 52" id='11' onclick="changecolor(this.id)"></div>
<div class="box 52" id='12' onclick="changecolor(this.id)"></div>
</div>
<div class="fieldcontainer">
<div class="box 53" id='13' onclick="changecolor(this.id)"></div>
<div class="box 53" id='14' onclick="changecolor(this.id)"></div>
<div class="box 53" id='15' onclick="changecolor(this.id)"></div>
<div class="box 53" id='16' onclick="changecolor(this.id)"></div>
</div>
</div>
<div class="bottom">
<div class="bottombox">
<div class="smallbox" id='100'></div>
<div class="smallbox" id='101'></div>
<div class="smallbox" id='102'></div>
</div>
<div class="timer">
<h3 id='number'>40</h3>
</div>
</div>
</div>
<div id="alertbox">
<h1>Hack Failed</h1>
<p>Two many Attempts</p>
<button onclick="tryagain()">
<h1>Try Again</h1>
</button>
</div>
<div id="lastbox">
<h1>You Win</h1>
<p>Congratulations</p>
<button onclick="tryagain()">
<h1>Try Again</h1>
</button>
</div>
<script src="main.js"></script>
</body>
</html>