-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (36 loc) · 1.46 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Effective JavaScript: Frogger</title>
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
</head>
<body>
<section class="container">
<h1 class="playerTitle">Select a player:</h1>
<ul class="container1">
<li><img class="playerChar" src="images/char-boy.png" alt="boy"></li>
<li><img class="playerChar" src="images/char-cat-girl.png" alt="cat girl"></li>
<li><img class="playerChar" src="images/char-horn-girl.png" alt="horn girl"></li>
<li><img class="playerChar" src="images/char-pink-girl.png" alt="Pink girl"></li>
<li><img class="playerChar" src="images/char-princess-girl.png" alt="Princess girl"></li>
</ul>
<button onclick="Game.start()" class="startGame">Start Playing Now!</button>
</section>
<section class="container endContainer hidden">
<h1 class="endTitle">Game Over!</h1>
<p class="endScore"></p>
<button onclick="Engine.reset()" class="endGame">Play Again!</button>
</section>
<section class="metrics hidden">
<span class="score">Score: 0</span>
</section>
<script src="js/game.js"></script>
<script src="js/metrics.js"></script>
<script src="js/gems.js"></script>
<script src="js/resources.js"></script>
<script src="js/app.js"></script>
<script src="js/engine.js"></script>
</body>
</html>