-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
24 lines (22 loc) · 684 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="snakegame.js"></script>
<link rel="stylesheet" type="text/css" href="snakegame.css"/>
<title>Snake</title>
</head>
<body>
<canvas id="myCanvas"></canvas>
<div id="box">
<div id="scorebox">Score: <div id="score"></div>
</div>
<div id="lives">Lives:
<div id="life1"><img src="images/heart.png" height='20' width='20'></div>
<div id="life2"><img src="images/heart.png" height='20' width='20'></div>
<div id="life3"><img src="images/heart.png" height='20' width='20'></div>
</div>
<div id="quesbox">Which of these numbers is divisible by <div id="ques"></div>?
</div>
</div>
</body>
</html>