-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (37 loc) · 1.37 KB
/
index.html
File metadata and controls
41 lines (37 loc) · 1.37 KB
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
<!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" />
<link rel="stylesheet" href="index.css" />
<title>Math clash</title>
</head>
<body>
<div class="game-box" style="height: 500px;">
<div class="screen-board">
<div class="score broad-text" id="target">Target: --</div>
<div class="target broad-text" id="score">Score: --</div>
<div class="target broad-text" id="curr">Current: --</div>
</div>
<div class="grid-box" id="tile-box">
<div class="start-box">
<button class="start-btn" onclick="start()">Start</button>
</div>
</div>
</div>
<div class="modal hidden" id="modal">
<div style="font-size: xx-large;background: #026742;text-align: center;border: 22px double #ecd737;" class="modal-body" >
<h1 class="broad-text" style="color: black; text-align: center;border: none;">
Game Over
</h1>
<p>Ummm game is over with score <span id="game-over-score"></span>.</p>
<p>To restart the game press</p>
<div class="modal-btn-box">
<button onclick="start()" class="restart-btn">Restart</button>
</div>
</div>
</div>
<script src="./index.js"></script>
</body>
</html>