-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (52 loc) · 2.32 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
<html>
<head>
<title>Reaction tester</title>
<link rel="stylesheet" type="text/css" href="ReactionStyle.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-3 col-lg-3 col-sm-12 col-xs-12">
<div class="container">
<div class="row">
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
<div class="textSection">
<div class="text">
<h4> This is a simple game to help track<br>the reaction time of the user.</h4>
<p> Reaction time: <span id="timeTaken"></span> </p>
<p> Highest delay: <span id="lowestScore"></span> </p>
<p> Number of clicks: <span id="numberClicks"></span></p>
<p id="missedSection" > Missed clicks: <span id="missedClicks"></span></p>
<p> <span id="time"></span></p>
<input class="btn btn-success" id="startButton" type="submit" value="Start" />
<input class="btn btn-danger" id="stopButton" type="submit" value="Stop" />
<br>
<span id="note"> Score will be reseted once re-starting.</span>
<span id="gameIsOn">Game Started!</span>
</div>
</div>
</div>
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
<div class="modeSection">
<div class="text">
<h4> Modes:</h4>
<input type="radio" name="gameMode" id="normal "value="1" checked /> Normal <br>
<input type="radio" name="gameMode" id="fast" value="2" /> Fast <br>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-9 col-lg-9 col-sm-12 col-xs-12">
<div id="shapeSection">
<span id="shape"></span>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="ReactionScript.js"></script>
</body>
</html>