-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (33 loc) · 819 Bytes
/
index.html
File metadata and controls
42 lines (33 loc) · 819 Bytes
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 name="viewport" content="width=device-width, initial-scale=1.0">
<title>Snake Time</title>
<style>
body {
background-color: lightgoldenrodyellow;
}
h2 {
text-align: center;
font-family: cursive;
text-decoration: underline;
}
h3 {
text-align: center;
font-family: cursive;
font-size: x-large;
}
canvas {
display: block;
margin: 0 auto;
}
</style>
</head>
<body>
<h2>SNAKE TIMES</h2>
<canvas id="snake" width="608" height="608"></canvas>
<h3>Game Started By Pressing Arrow Keys</h3>
<script src="index.js"></script>
</body>
</html>