-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (41 loc) · 1.86 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
<html>
<head>
<meta charset="UTF-8">
<!--fonts-->
<link href="https://fonts.googleapis.com/css?family=Anton|Oswald:500" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Sedgwick+Ave+Display" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet">
<!--Bootstrap link:-->
<!--css and js links below-->
</head>
<body>
<div class="grid-container">
<h1 id="title-h">Simon-JS</h1>
<button id="button1" class="btn btn-primary" onclick="userMove(1)"></button>
<button id="button2" class="btn btn-primary" onclick="userMove(2)"></button>
<button id="button3" class="btn btn-primary" onclick="userMove(3)"></button>
<button id="button4" class="btn btn-primary" onclick="userMove(4)"></button>
</div>
<div class="toggles">
<div>
<button id="start-b" class="btn btn-primary" onclick="startGame()">Start Game</button>
<button id="reset-b" class="btn btn-primary" onclick="resetGame()">Reset Game</button>
</div>
<div>
<label>
<input type="checkbox" name="hard-check"><span class="label-text">Hardcore Mode</span>
</label>
<label>
<input type="checkbox" name="random-check"><span class="label-text">Random Mode</span>
</label>
<p id="seq-display">Sequence Length: 0
</p>
</div>
</div>
<div>
<p id="error-p"></p>
</div>
<script language="javascript" type="text/javascript" src="simon.js"></script>
<link rel="stylesheet" type="text/css" href="main.css">
</body>
</html>