-
Notifications
You must be signed in to change notification settings - Fork 0
/
readingspeedtest.html
100 lines (97 loc) · 2.35 KB
/
readingspeedtest.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A Reading Speed Test</title>
<script src="readingspeedtest.js"></script>
<style>
table,td
{
border-collapse:collapse;
text-align:center;
padding:1px
}
</style>
</head>
<body>
<h3>Reading Speed Test Utility</h3>
<table style="width:760px">
<tr>
<td>Header / Title / Instructions Here</td>
</tr>
<tr>
<td><textarea id="testText" cols="85" rows="35" onClick="manageText()" onChange="analyzeText()">Insert text to read here.</textarea></td>
</tr>
<tr>
<td><input type="button" id="startStop" onClick="startStop()" value="Start" /></td>
</tr>
<tr>
<td>
<table>
<tr>
<td width="49%"></td>
<td>
<table style="width:64px">
<tr>
<td width="20px"><span style="text-align:left" id="minutes">00:</span></td>
<td width="20px"><span style="text-align:left" id="seconds">00:</span></td>
<td width="12px"><span style="text-align:left" id="millis">0</span></td>
</tr>
</table>
</td>
<td width="49%"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><span id="wordCount">Total # of words: </span></td>
</tr>
<tr>
<td><span id="wordSize">Average word size: </span></td>
</tr>
<tr>
<td><span id="readingSpeed">Reading speed: </span></td>
</tr>
</table>
<br />
<br />
<table style="width:760px">
<tr>
<td colspan="2">Stopwatch</td>
</tr>
<tr>
<td colspan="2">
<table>
<tr>
<td width="49%"></td>
<td>
<table style="width:64px">
<tr>
<td width="20px"><span style="text-align:left" id="mins">00:</span></td>
<td width="20px"><span style="text-align:left" id="secs">00:</span></td>
<td width="12px"><span style="text-align:left" id="mils">0</span></td>
</tr>
</table>
</td>
<td width="49%"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2"><input type="button" id="startStopwatch" onClick="startStopwatch()" value="Start" />
<input type="button" id="lapStop" onClick="lapStop()" value="Split" />
</td>
</tr>
<tr>
<td style="text-align:left;width:150px"><span style="width:150px;text-align:right">Total split time: </span>
<span id="splitTime"></span></td>
</tr>
<tr>
<td style="text-align:left"><span style="width:150px;text-align:right">Lap time: </span>
<span id="lapTime"></span></td>
</tr>
</table>
</body>
</html>