forked from udacity/frontend-nanodegree-arcade-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (34 loc) · 1.21 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
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cross the Road</title>
<meta name="description" content="Frogger Game">
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Gamja+Flower" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<header>
<h1>Cross the Road</h1>
<div class="timeSection" id="timer"><span class="value">30</span> seconds</div>
</header>
<script src="js/resources.js"></script>
<script src="js/app.js"></script>
<script src="js/engine.js"></script>
<script src="js/wingame.js"></script>
<div id="winModal" class="modal">
<div id="winContent" class="modal-content">
<span class="close">×</span>
<h2>You Win!</h2>
<p>Wanna play again?</p>
<button id="btnPlay" class="playButton" onclick="startOver()">Play Again</button>
</div>
</div>
<footer>
<p>Nikiya M. Simpson, Udacity Student, 2018</p>
</footer>
</body>
</html>