-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (44 loc) · 1.07 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
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<title>Effective JavaScript: Frogger</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body id="body" onload="myFunction();">
<p id="demo"></p>
<div align="center"><h1 class="gameTile">STREET FROG!</h1></div>
<p id="recoredAlert" style="display: none; color:green;" align="center">YES!!! You are the street king. NEW RECORD SET.</p>
<div class="headings">
<p align="center" class="scoreBoard">Score Board</p>
<table border="1">
<tr>
<td>Level</td>
<td id="Level"></td>
</tr>
<tr>
<td> Life</td>
<td id="lifeSpan"></td>
</tr>
<tr>
<td>High Scores</td>
</tr>
<tr>
<td>Previous</td>
<td>Present</td>
</tr>
<tr>
<td id="previous"></td>
<td id="Present"></td>
</tr>
</table>
<p id="gameOver"></p>
<a href="index.html" id="button">Retry?</a>
</div>
<audio src="assets/back.mp3" autoplay loop>
<p>Your browser does not support the audio element </p>
</audio>
<script src="js/resources.js"></script>
<script src="js/app.js"></script>
<script src="js/engine.js"></script>
</body>
</html>