-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·38 lines (37 loc) · 1.13 KB
/
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
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/css/style.css">
<title>carRun</title>
</head>
<body>
<main>
<section class="main">
<audio id="bgAudio" autoplay>
<source src="">
</audio>
<audio id="endGameAudio" src="assets/audio/endGameAudio.mp3"></audio>
<div class="scoreArea">
<div class="score" id="level">level</div>
<div class="score" id="speed">speed</div>
<div class="score" id="score">Score</div>
<div class="score" id="hiScore">high Score</div>
</div>
<div class="startScreen">
<h1 id="scoreBroad"></h1>
<h2 id="hiScoreBroad"></h2>
<p>Click to start playing</p>
<span>Use Arrows Keys to move</span><br>
<span>if you hit anthoer car you will lose the game.</span>
</div>
<div class="gameArea">
</div>
</section>
</main>
<script src="assets/js/index.js">
</script>
</body>
</html>