-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (56 loc) · 2.1 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
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="utf-8">
<title>Multiplication Game</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--css-->
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<div id="container">
<!-- title-->
<h1 class="gametitle">Multiplication Game</h1>
<!--game board-->
<div id="board">
<div id="right">Right</div>
<div id="wrong">Try again</div>
<div id="score">Score: <span id="scoreNumber">0</span></div>
<div id="problem"></div>
<div id="instruction"></div>
<div id="answers">
<div id="answer1"></div>
<div id="answer2"></div>
<div id="answer3"></div>
<div id="answer4"></div>
</div>
<div id="start">Play Individually</div>
<div id="gameTime"></div>
<div id="time">Time: <span id="remainingTime">60</span> seconds</div>
<div id="gameover">GAME OVER Your score: <span id="finalscore">0</span></div>
</div>
<!--audio files-->
<div class="player">
<audio id="startgame" autoplay controls loop>
<source src="audio/start.mp3">
<source src="audio/start.ogg">
</audio>
</div>
<audio id="lost">
<source src="audio/error.mp3">
<source src="audio/error.ogg">
</audio>
<audio id="win">
<source src="audio/correct.mp3">
<source src="audio/correct.ogg">
</audio>
<audio id="final">
<source src="audio/end.mp3">
<source src="audio/end.ogg">
</audio>
</div>
<!--JavaScript-->
<script src="javascript.js">
</script>
</body>
</html>