forked from itz-arnav/RACE-GAME-JS-BROWSER
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index1.html
53 lines (53 loc) · 1.48 KB
/
index1.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Racing Car Game</title>
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body>
<div class="carGame">
<div class="score"></div>
<div class="startScreen">
<p>Press here to start <br>
Use Arrow keys to move <br>
Press Up arrow to move Up <br>
Press Down arrow to move Down <br>
Press Right arrow to move Right <br>
Press Left arrow to move Left <br>
If you hit another car you will lose. <br>
</p>
<div>Select Level <br>
<span class="level">
<button id="easy">Easy</button>
<button id="moderate">Moderate</button>
<button id="difficult">Difficult</button>
</span>
</div>
</div>
<div class="gameArea"></div>
</div>
<script src="script.js"></script>
<div>
<table>
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
</table>
</div>
</body>
</html>