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
<!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">Start Game</div>
<div id="time">Time: <span id="remainingTime">55</span> sec</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>
</div>
<audio id="lost">
<source src="item2.ogg">
</audio>
<audio id="win">
<source src="item1.ogg">
</audio>
</div>
<!--JavaScript-->
<script src="javascript.js"></script>
</body>
</html>