-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (41 loc) · 1.29 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 lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>The Jumping Game</title>
<link rel="stylesheet" href="./style.css" class="rel" />
</head>
<body>
<main>
<section id="gameInstructions">
<h1>Welcome to the Jumping game</h1>
<hr />
<h3>Instructions</h3>
<ul id="instruction"></ul>
<button id="startGameButton">PLAY!</button>
</section>
<section id="gameContainer">
<section id="game">
<section id="ambience"></section>
<section class="game-over-container hidden">
<div class="game-over-display">
<h1 id="message"></h1>
<p id="final-score" class="hidden" ></p>
<section class="message-buttons">
<button id="quit_btn">Quit</button>
<button id="restart_btn">Restart</button>
</section>
</div>
</section>
<h2 id="score">000</h2>
<img id="player"></img>
<div id="ground">
<p id="quit_game">Press "Esc/Escape" to quit.</p>
</div>
</section>
</section>
</main>
<script src="./script.js"></script>
</body>
</html>