-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreaction-test.html
More file actions
47 lines (43 loc) · 1.89 KB
/
reaction-test.html
File metadata and controls
47 lines (43 loc) · 1.89 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Reaction Time Test</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
</head>
<body>
<div class="title-wrap">
<div class="title">
<h4>Reaction Time Test</h4>
</div>
</div>
<div class="canvas">
<canvas id="reactionTest"></canvas><br />
</div>
<div class="return-button">
<a href="index.html">Back to Menu</a>
</div>
<div class="sidebar-title">
Settings
</div>
<div class="sidebar">
<br />Reaction Background Color<br /><input id="reaction-bg" class="color-picker" type="color" value="#FCFCFC">
<br /><br />Reaction Text Color<br /><input id="reaction-text" class="color-picker" type="color" value="#1B1B1B">
<div class="sidebar-secondary-title">
Data
</div>
<br/>Average Time: <span style="font-weight: bold;" id="reaction-average">N/A</span>
<br/><br />Median Time: <span style="font-weight: bold;" id="reaction-median">N/A</span>
<br /><br/>Best Time: <span style="font-weight: bold;" id="reaction-best">N/A</span>
<br /><br/>Worst Time: <span style="font-weight: bold;" id="reaction-worst">N/A</span>
<br /><br/>Test Attempts: <span style="font-weight: bold;" id="reaction-count">0</span>
<br /><br/>Early Clicks: <span style="font-weight: bold;" id="early-clicks">0</span>
</div>
<br />
<div class="footer">
Joshua Lowe | <a href="https://github.com/lowejosh/canvas-experiments">github</a>
</div>
<script src="js/reaction-test.js"></script>
</body>
</html>