-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (37 loc) · 1.16 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
<!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" />
<meta name="description" content="snake game" />
<meta name="author" content="devs.hashtag" />
<title>snake game</title>
<!-- styles -->
<link rel="stylesheet" href="assets/css/style.css" />
</head>
<body>
<!-- header -->
<header class="header">
<div class="header__container">
<!-- status -->
<div class="header__status">
<div class="status__speed">speed: <span id="speed">0</span></div>
<div class="status__score">score: <span id="score">0</span></div>
<div class="status__spacer"><span></span></div>
</div>
<!-- button -->
<div class="navbar-toggle">
<span class="toggle-icon"></span>
</div>
</div>
</header>
<main class="snake-game">
<div class="container">
<div class="board" id="board"></div>
</div>
</main>
<!-- scripts -->
<script type="module" src="assets/js/script.js"></script>
</body>
</html>