-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (34 loc) · 996 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
25
26
27
28
29
30
31
32
33
34
35
36
37
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Mouse Maze</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<div id="message">
Ready to start
</div>
<div id="maze" onmouseout="cursorOutside(event, this)">
<div id="start" class="place" onmouseover="startGame()">START</div>
<div id="finish" class="place" onmouseover="winGame()">FINISH</div>
<div class="block"
style="top: 50px; left: 0px; width: 200px; height: 50px;"
onmouseover="loseGame(this)">
</div>
<div class="block"
style="top: 0px; left: 220px; width: 200px; height: 300px;"
onmouseover="loseGame(this)">
</div>
<div class="block"
style="top: 120px; left: 10px; width: 210px; height: 300px;"
onmouseover="loseGame(this)">
</div>
<div class="block"
style="top: 350px; left: 250px; width: 120px; height: 150px;"
onmouseover="loseGame(this)">
</div>
</div>
</body>
</html>