generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
39 lines (34 loc) · 1.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="Description" content="A simple pattern game coded with JS">
<link rel="stylesheet" href="assets/css/style.css">
<title>Pattern</title>
</head>
<body>
<h1>Pattern</h1>
<div class="heading-container">
<h4 id="hs-heading">High Score: <span id="highscore">0</span></h4>
<h4 id="ml-heading">Max Length: <span id="maxlength">0</span></h4>
</div>
<!-- Main body-->
<div class="container">
<button data-listener="false" class="node button-left" id="button-red" aria-label="Red button"></button>
<button data-listener="false" class="node button-right" id="button-yellow" aria-label="Yellow button"></button>
</div>
<div class="space"></div>
<div class="start-container">
<button class="button" id="start" onclick="newGame()">Start Game</button>
</div>
<div class="space"></div>
<div class="container">
<button data-listener="false" class="node button-left" id="button-blue" aria-label="Blue button"></button>
<button data-listener="false" class="node button-right" id="button-green" aria-label="Green button"></button>
</div>
<!-- Main body end. -->
<script src="assets/js/score-script.js"></script>
<script src="assets/js/script.js"></script>
</body>
</html>