-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (48 loc) · 1.33 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
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Effective JavaScript: Frogger</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet prefetch" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
</head>
<body>
<!-- Header for game -->
<header>
<h1 class="heading">Arcade Game</h1>
</header>
<!-- Main -->
<main>
<div class="container">
<div class="life">
<ul class="lives">
<li><i class="fa fa-heart"></i></li>
<li><i class="fa fa-heart"></i></li>
<li><i class="fa fa-heart"></i></li>
<li><i class="fa fa-heart"></i></li>
<li><i class="fa fa-heart"></i></li>
</ul>
</div>
<div class="win">
<strong>Win
<span id=win-strike> 0 </span>
</strong>
</div>
</div>
<!-- Modal Box After game completion -->
<div class="modal">
<div class="modal-content">
<span class="close-button">×</span>
<h2>Game Over</h2><i class="fa fa-trophy" aria-hidden="true"></i>
<p> No More lives are remaining </p>
<button id="play-again">
<a> Play again</a>
</button>
</div>
</div>
<script src="js/resources.js"></script>
<script src="js/app.js"></script>
<script src="js/engine.js"></script>
</main>
</body>
</html>