-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (46 loc) · 1.59 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
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Snake in Favicon</title>
<meta name="title" content="Snake in Favicon" />
<meta
name="description"
content="Playing snake is nostalgic but what if you could play it in browser's favicon?"
/>
<meta
name="keywords"
content="snake, favicon, canvas, snake game, javascript, apoorv"
/>
<meta name="robots" content="index, follow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="English" />
<meta name="author" content="Apoorv Kansal" />
<link rel="shortcut icon" href="favicon.png" type="image/png" />
</head>
<body>
<div id="container">
<h1>Snake Game</h1>
<p>
But with a twist, what if you could play game in the
<a
target="_blank"
href="https://developer.mozilla.org/en-US/docs/Glossary/Favicon"
>favicon</a
>. Just click play and use arrow keys to control snake in favicon
</p>
<h2 id="points"></h2>
<button id="playBtn">Start Playing</button>
</div>
<footer>
Created with ❤️ and passion by
<a href="https://apoorv.page" target="_blank"> Apoorv Kansal </a>.
Checkout my
<a href="https://github.com/uragirii" target="_blank"> Github</a> and
reach me on
<a href="https://twitter.com/quacky_batak" target="_blank">Twitter</a>
</footer>
<script type="module" src="/src/main.ts"></script>
</body>
</html>