-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp.html
66 lines (62 loc) · 1.25 KB
/
help.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html>
<head>
<title>Traffic racer</title>
<style>
#body
{
height: 100%;
width: 100%;
margin: 0;
background-color: #45d678;
font-family: sans-serif;
}
.container{
height: 160%;
width: 50%;
background-color: Gray;
color: white;
font-family: sans-serif;
font-size: 40px;
text-align: center;
}
.container *{
text-align: left;
}
li{
list-style: square;
text-align: left;
color: black;
}
summary{
text-decoration: underline;
}
</style>
</head>
<body id="body">
<p>
</p>
<center>
<div class="container" style="border:3px;border-style:solid;border-color:#ffoooo;padding:1em;">
<details>
<summary>Controls</summary>
<ul>
<li>Right arrow to move right</li>
<li>Left arrow to move left</li>
<li>Up arrow for move forward</li>
<li>Down arrow for move backward</li>
</ul>
</details>
<details>
<summary>Rules</summary>
<ul>
<li><b>If your car crashes you lose</b></li>
<li><b>If you pass over an oil spot you will lose control for 2 seconds</b></li>
<li><b>You move to the next level when you get 30 point</b></li>
</ul>
</details>
<audio id="sound" src="MainTheme.mp3"></audio>
</div>
</center>
</body>
</html>