-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
29 lines (29 loc) · 1.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=DotGothic16&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Snake</title>
</head>
<body>
<div class="container">
<header>
<h1>Snake</h1>
</header>
<div class="game-container">
<p class="subtitle">Use arrow keys to control the snake and <span class="primary-accent">eat</span> as many apples as you can! But don't <span class="primary-accent">hit</span> the box or bite yourself!</p>
<div class="grid"></div>
<button id="start">Start/restart</button>
<h2>Score: <span id="score"></span></h2>
</div>
<footer>
<p class="small">Checkout this game on <a href="https://github.com/DrKabum/snake-js">GitHub</a></p>
</footer>
</div>
<script src="app.js"></script>
</body>
</html>