-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (43 loc) · 1.57 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
<!DOCTYPE html>
<html>
<head>
<title>Maths Game</title>
<link rel="stylesheet" href="styling.css">
</head>
<body>
<div id="container">
<div id="score">
Score: <span id="scorevalue">0</span>
</div>
<div id="correct">
Correct
</div>
<div id="wrong">
Wrong
</div>
<div id="question">
</div>
<div id="instruction">
Click on the correct answer
</div>
<div id="choices">
<div id="box1" class="box"></div>
<div id="box2" class="box"></div>
<div id="box3" class="box"></div>
<div id="box4" class="box"></div>
</div>
<div id="startreset">
Start Game
</div>
<div id="gameOver">
</div>
</div>
<div id="timeremaining">
Time remaining: <span id="timeremainingvalue">60</span> sec
</div>
<script src="javascript.js"></script>
<h6><marquee>Note:Idea is taken from internet also some of complex coding part is also taken from internet but new features are added by me such as
variety of arithmetic questions(+,-,/)as original only had multiplication,score decrement on wrong answer,precission for decimal value,new question after giving a
wrong answer,position of timer,colors and containers etc.</marquee></h6>
</body>
</html>