-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (95 loc) · 4.66 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
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
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Speedtypers</title>
<link rel="stylesheet" type="text/css" href="./css/style.css">
<link rel="stylesheet" type="text/css" href="./assets/tooltipster.bundle.min.css"/>
</head>
<body>
<!-- STYLE !-->
<p id="copyright">Copyright (C) 2024 Evan and Rishi</p>
<p id="timeLeft">15</p>
<p id="caret"></p>
<div class="paragraphBox">
<pre>
<p id="paragraph">Failed to load sentence</p>
</pre>
</div>
<div class="menu data">
<div id="dataLabel">
<p title="Data is based on the test. Different tests will have different high scores. Reset data in the settings."class="tooltip" style="margin-bottom: 10px;">Test Data</p>
<hr style=" width:30%; margin: 0 auto;">
<br>
</div>
<p class="tooltip" title="How many characters you typed correctly." id="accuracy">Start a test by pressing ENTER.</p>
<p class="tooltip" title="How fast you typed in words per minute." id="wpm"></p>
<p class="tooltip" title="How long it took to complete the test." id="timer"></p>
<p class="tooltip" title = "Characters you got in form Correct/Incorrect." id="correctCharacters"></p>
<p class="tooltip" title="How fast you typined words per minute not including misses." id="rawwpm"></p>
<p class="tooltip" title="The type of test you took." id="testType"></p>
</div>
<button id="homeButton">Speedtypers</button>
<div id="buttonsList">
<button class="button" id="settings">Settings</button>
<button class="button" id="help">Help</button>
<button class="button" id="data">My Data</button>
<button class="button" id="help"><a id="bottomLink" href="https://github.com/HHS-Coding-Club/Speedtypers" target="_blank">Repository</a></button>
<button class="button" id="help"><a id="bottomLink" href="https://github.com/HHS-Coding-Club/Speedtypers/blob/main/index.html" target="_blank">Source</a></button>
</div>
<div id="settingsMenu">
<h2 class="bigLabels">Test Type</h2>
<hr>
<br>
<button class="settingButtons" id="RandomWords">Random Words</button>
<br>
<br>
<button class="settingButtons" id="RandomQuote">Random Quote</button>
<br>
<br>
<button class="settingButtons" id="CustomSentence">Custom Sentence</button>
<br>
<br>
<p class="bigLabels2" style="display: inline-block;">Punctuation - </p><input class="checkbox" id="puncCheckbox" style="margin-left: 14px; position: relative; top: 2px;" type="checkbox">
<br>
<p class="bigLabels2" style="display: inline-block;" >Numbers - </p><input class="checkbox" id="numbersCheckbox" style="margin-left: 14px; position: relative; top: 2px;" type="checkbox">
<br>
<br>
<br>
<h2 class="bigLabels">Timed</h2>
<hr>
<br>
<button class="settingButtons" id="TimeTest15">15 Seconds</button>
<br>
<br>
<button class="settingButtons" id="TimeTestCustom">Custom Amount Of Seconds</button>
<br>
<br>
<br>
<h2 class="bigLabels">Data</h2>
<hr>
<br>
<button class="settingButtons" id="ResetData">Reset Data</button>
</div>
<div id="helpMenu">
<h2 class="bigLabels">Tests</h2>
<hr>
<br>
<p>You can change the test type by opening up the settings at the bottom. You can view your high score by hovering over the score you get from doing a test, or going to the data Tab. Press ENTER to start a new test. You can also reset your data in settings too.</p>
<br>
<br>
<h2 class="bigLabels">About</h2>
<hr>
<br>
<p>A typing game made by the HHS coding club organization. Developed by Evan and Rishi. Want to contribute to the project? Make changes and send a pull request on the <a href="https://github.com/HHS-Coding-Club/Speedtypers" target="_blank">repository.</a> But you can also view our organization <a target="_blank" href="https://github.com/HHS-Coding-Club">here.</a></p>
</div>
<div id="dataMenu">
<p id="dataList">Please try again, or make sure you have completed tests to get data.</p>
</div>
<!-- SCRIPTS !-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/tooltipster/4.2.8/js/tooltipster.bundle.min.js"></script>
<script type="module" src="./js/script.js"></script>
</body>
</html>