forked from wdi-sg/sei-19
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlevelTwo.html
More file actions
71 lines (54 loc) · 2.48 KB
/
Copy pathlevelTwo.html
File metadata and controls
71 lines (54 loc) · 2.48 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Level Two!</title>
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://unpkg.com/nes.css@latest/css/nes.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/levelTwoStyle.css">
</head>
<body>
<iframe src="music/level-two.mp3" allow="autoplay" id="songLevelTwo" style="display:none"></iframe>
<audio id="yumyum" src="music/pikachu-nom.mp3" autostart="false"></audio>
<audio id="boom" src="music/pikachu-bomb.mp3" autostart="false"></audio>
<section class="icon-list">
<i class="nes-icon is-large heart"></i>
<i class="nes-icon is-large heart"></i>
<i class="nes-icon is-large heart"></i>
</section>
<div class="wrapper">
<h1 id="leftInfo">Score: <span id="score"></span></h1>
<h1 id="rightInfo">Time Left: <span id="time-left"></span></h1>
<div id="playArea"></div>
<div id="catchArea"></div>
</div>
<section>
<dialog class="nes-dialog is-dark is-rounded" id="dialog-dark-rounded">
<form method="dialog" class="formModal">
<p class="title">Game Over!</p>
<p class="briefContent">You have no more lives!</p>
<menu class="dialog-menu">
<button class="nes-btn is-warning" id="restart-btn1">Try Again?</button>
<button class="nes-btn is-error" id="mainMenu-btn1">Main Menu</button>
</menu>
</form>
</dialog>
</section>
<section>
<dialog class="nes-dialog is-rounded" id="dialog-rounded">
<form method="dialog" class="formModal">
<p class="title">Level Passed!</p>
<p class="briefContent">You have successfully completed this level!</p>
<p class="briefContent">Your score is: <span id="scoreModal"></span></p>
<menu class="dialog-menu">
<button class="nes-btn is-success" id="nextLevel-btn">Next Level</button>
<button class="nes-btn is-warning" id="restart-btn2">Restart Level</button>
<button class="nes-btn is-error" id="mainMenu-btn2">Main Menu</button>
</menu>
</form>
</dialog>
</section>
<script src="scriptLevelTwo.js"></script>
</body>
</html>