-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (34 loc) · 1.17 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
<!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="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap"
rel="stylesheet"
/>
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png?" />
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png?" />
<title>Snake | Retro game online 🐍</title>
</head>
<body>
<header>
<button type="button" aria-label="sound toggle">
<img aria-hidden="true" src="images/sound.png" />
</button>
<h1>Snake</h1>
</header>
<main>
<canvas width="460" height="460">
A recreation of the classic retro game - snake.
<br />
Please use a device that supports javascript to play.
</canvas>
</main>
<script src="index.js"></script>
</body>
</html>