-
Notifications
You must be signed in to change notification settings - Fork 0
/
maze.html
25 lines (25 loc) · 857 Bytes
/
maze.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
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Maze Game</title>
<link rel="stylesheet" href="maze.css" />
<script src="maze.js" defer></script>
</head>
<body>
<div id="maze-wrapper">
<div id="maze"></div>
<img id="rabbit" src="images/rabbit-7656394_640.png" alt="rabbit" />
</div>
<div>
<h1>Maze Game</h1>
<p>Move the rabbit to the pile of carrots at the center of the maze:</p>
<div id="controls">
<span></span><button type="button" id="up">⇧</button
><span></span> <button type="button" id="left">⇦</button
><span></span><button type="button" id="right">⇨</button>
<span></span><button type="button" id="down">⇩</button>
</div>
</div>
</body>
</html>