-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (29 loc) · 940 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tetris</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="grids-container">
<div class="game-grid">
</div>
<div class="side-panel">
<h1>Tetris</h1>
<p>Up next</p>
<div class="mini-grid">
</div>
<p>Score: <span id="score">0</span> points</p>
<button id="start-button">▶</button>
</div>
</div>
<div class="results-panel">
<h2 class="score-heading">Your score was:</h2>
<p><span id="results-score">0</span> points</p>
<button id="restart-button">Try again?</button>
</div>
<script type="text/javascript" src="app.js"></script>
</body>
</html>