-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
353 lines (339 loc) · 15.7 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Primary Meta Tags -->
<title>Writer Assist</title>
<meta name="title" content="Writer Assist JavaScript application">
<meta name="description" content="A virtual keyboard to assist people with reduced fine motor skills.">
<!-- Open Graph, need og:image -->
<meta property="og:title" content="Writer Assist JavaScript application">
<meta property="og:description" content="A virtual keyboard to assist people with reduced fine motor skills.">
<meta property="og:url" content="https://cool-travesseiro-9b6101.netlify.app/">
<!-- Twitter, need twitter:card & twitter:image -->
<meta name="twitter:title" content="Writer Assist JavaScript application">
<meta name="twitter:description" content="A virtual keyboard to assist people with reduced fine motor skills.">
<meta name="twitter:domain" content="https://cool-travesseiro-9b6101.netlify.app/">
<!-- Favicon, Font Awesome, and Styles -->
<link rel="icon" type="image/png" href="./dist/favicon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="./dist/css/style.css" />
</head>
<body>
<header class="header">
<div class="container">
<nav class="primary-nav">
<div class="logo">
<span>Writing Assistant</span>
</div>
<ul role="list" class="nav-list">
<li class="nav-item"><a href="/notes.html" class="nav-link">Notes</a></li>
<li class="nav-item"><a href="https://courageous-cuchufli-816711.netlify.app/" target="_blank"
class="nav-link">Portfolio Home</a></li>
</ul>
</nav>
</div>
</header>
<div class="hero container">
<h1 class="header-title">Mouse-only document & email composition tool</h1>
<p class="sub-headline">Assistive technology tool for people with reduced motor skills</p>
</div>
<main>
<div class="container">
<nav class="main-nav">
<ul>
<li>
<button tabindex="-1">A</button>
<div class="submenu">
<ul id="lettera" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">B</button>
<div class="submenu">
<ul id="letterb" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">C</button>
<div class="submenu">
<ul id="letterc" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">D</button>
<div class="submenu">
<ul id="letterd" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">E</button>
<div class="submenu">
<ul id="lettere" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">F</button>
<div class="submenu">
<ul id="letterf" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">G</button>
<div class="submenu">
<ul id="letterg" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">H</button>
<div class="submenu">
<ul id="letterh" class="top-words"></ul>
</div>
</li>
<li>
<button class="multi" tabindex="-1">IJK</button>
<div class="submenu">
<ul id="letteri" class="top-words"></ul>
<ul id="letterj" class="top-words"></ul>
<ul id="letterk" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">L</button>
<div class="submenu">
<ul id="letterl" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">M</button>
<div class="submenu">
<ul id="letterm" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">N</button>
<div class="submenu">
<ul id="lettern" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">O</button>
<div class="submenu">
<ul id="lettero" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">P</button>
<div class="submenu">
<ul id="letterp" class="top-words"></ul>
</div>
</li>
<li>
<button class="multi" tabindex="-1">QR</button>
<div class="submenu">
<ul id="letterq" class="top-words"></ul>
<ul id="letterr" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">S</button>
<div class="submenu">
<ul id="letters" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">T</button>
<div class="submenu">
<ul id="lettert" class="top-words"></ul>
</div>
</li>
<li>
<button class="multi" tabindex="-1">UV</button>
<div class="submenu">
<ul id="letteru" class="top-words"></ul>
<ul id="letterv" class="top-words"></ul>
</div>
</li>
<li>
<button tabindex="-1">W</button>
<div class="submenu">
<ul id="letterw" class="top-words"></ul>
</div>
</li>
<li>
<button class="multi" tabindex="-1">XYZ</button>
<div class="submenu">
<ul id="letterx" class="top-words"></ul>
<ul id="lettery" class="top-words"></ul>
<ul id="letterz" class="top-words"></ul>
</div>
</li>
</ul>
</nav>
<button id="accordian" class="accordian" title="Click to open and close">Add Proper Nouns and
Phrases</button>
<div id="panel" class="panel inactive">
<section class="alphabet">
<ul id="special-words" class="box noun-words"></ul>
</section>
</div>
</div>
<section class="main-section">
<!-- Clear textfield Modal -->
<div class="modal-container" id="modal">
<div class="modal">
<button class="close-btn" id="close" aria-label="Close">
<i class="fa fa-times"></i>
</button>
<div class="modal-header">
<h3>Delete text</h3>
</div>
<div class="modal-content">
<p>Are you sure that you want to clear the text field?</p>
<form class="modal-form">
<button aria-label="Delete text field contents" id="clearText" type="button"
class="submit-btn yes-btn">Yes, delete the field.</button>
</form>
</div>
</div>
</div>
<!-- end modal -->
<button id="open" class="clear-btn">Clear text box</button>
<button id="copy" class="copy-btn" value="copy-text" title="Does not work in IE">Copy text</button>
<textarea aria-label="Text area" name="textbox" id="text-box" class="text-box"
placeholder="Click any proper nouns or alphabet word buttons, or try the keyboard below to enter text..."></textarea>
<div class="two-col">
<div id="keyboard" class="keybrd-box">
<div class="keybrd-row top-items">
<button id="backtick" class="nonAlpha shiftItem" tabindex="-1" value="`">`</button>
<button id="one" class="nonAlpha shiftItem" tabindex="-1" value="1">1</button>
<button id="two" class="nonAlpha shiftItem" tabindex="-1" value="2">2</button>
<button id="three" class="nonAlpha shiftItem" tabindex="-1" value="3">3</button>
<button id="four" class="nonAlpha shiftItem" tabindex="-1" value="4">4</button>
<button id="five" class="nonAlpha shiftItem" tabindex="-1" value="5">5</button>
<button id="six" class="nonAlpha shiftItem" tabindex="-1" value="6">6</button>
<button id="seven" class="nonAlpha shiftItem" tabindex="-1" value="7">7</button>
<button id="eight" class="nonAlpha shiftItem" tabindex="-1" value="8">8</button>
<button id="nine" class="nonAlpha shiftItem" tabindex="-1" value="9">9</button>
<button id="zero" class="nonAlpha shiftItem" tabindex="-1" value="0">0</button>
<button id="dash" class="nonAlpha shiftItem" tabindex="-1" value="-">-</button>
<button id="equals" class="nonAlpha shiftItem" tabindex="-1" value="=">=</button>
<!-- <button id="backspace" class="nonprint backspace" tabindex="-1">← BkSp</button> -->
<button id="backspace" class="nonprint backspace" tabindex="-1">←</button>
<!-- <button id="delete" class="nonprint delete" tabindex="-1">⌫ Del</button> -->
<button id="delete" class="nonprint delete" tabindex="-1">⌫</button>
</div>
<div class="keybrd-row top-items">
<button id="tab" class="nonprint tab" tabindex="-1">Tab</button>
<button class="key keyq" value="q" tabindex="-1">Q</button>
<button class="key keyw" value="w" tabindex="-1">W</button>
<button class="key keye" value="e" tabindex="-1">E</button>
<button class="key keyr" value="r" tabindex="-1">R</button>
<button class="key keyt" value="t" tabindex="-1">T</button>
<button class="key keyy" value="y" tabindex="-1">Y</button>
<button class="key keyu" value="u" tabindex="-1">U</button>
<button class="key keyi" value="i" tabindex="-1">I</button>
<button class="key keyo" value="o" tabindex="-1">O</button>
<button class="key keyp" value="p" tabindex="-1">P</button>
<button id="leftsq" class="nonAlpha rtsq shiftItem" value="[" tabindex="-1">[</button>
<button id="rtsq" class="nonAlpha leftsq shiftItem" value="]" tabindex="-1">]</button>
<button id="backslash" class="nonAlpha backslash shiftItem" value="\" tabindex="-1">\</button>
</div>
<div class="keybrd-row top-items">
<button id="caps" class="nonprint caps caps-off" tabindex="-1">Caps</button>
<button class="key keya" value="a" tabindex="-1">A</button>
<button class="key keys" value="s" tabindex="-1">S</button>
<button class="key keyd" value="d" tabindex="-1">D</button>
<button class="key keyf" value="f" tabindex="-1">F</button>
<button class="key keyg" value="g" tabindex="-1">G</button>
<button class="key keyh" value="h" tabindex="-1">H</button>
<button class="key keyj" value="j" tabindex="-1">J</button>
<button class="key keyk" value="k" tabindex="-1">K</button>
<button class="key keyl" value="l" tabindex="-1">L</button>
<button id="semicolon" class="nonAlpha shiftItem" value=";" tabindex="-1">;</button>
<button id="quotes" class="nonAlpha shiftItem" value="'" tabindex="-1">'</button>
<button id="enter" class="enter nonprint" tabindex="-1">⏎ Enter</button>
</div>
<div class="keybrd-row top-items">
<button id="shiftl" class="nonprint shiftL shift-off" tabindex="-1">⇧ Shift</button>
<button class="key keyz" value="z" tabindex="-1">Z</button>
<button class="key keyx" value="x" tabindex="-1">X</button>
<button class="key keyc" value="c" tabindex="-1">C</button>
<button class="key keyv" value="v" tabindex="-1">V</button>
<button class="key keyb" value="b" tabindex="-1">B</button>
<button class="key keyn" value="n" tabindex="-1">N</button>
<button class="key keym" value="m" tabindex="-1">M</button>
<button id="comma" class="nonAlpha shiftItem" value="," tabindex="-1">,</button>
<button id="period" class="nonAlpha shiftItem" value="." tabindex="-1">.</button>
<button id="forwardslash" class="nonAlpha shiftItem" value="/" tabindex="-1">/</button>
<button id="shiftr" class="nonprint shiftR shift-off" tabindex="-1">⇧ Shift</button>
</div>
<div class="keybrd-row top-items">
<button id="spacebar" class="spacebar nonprint" tabindex="-1">Spacebar</button>
</div>
</div>
<!-- nav keys -->
<div class="keybrd-box2">
<div class="keybrd-row top-items">
<button id="homekey" class="home" value="home" tabindex="-1">Home</button>
</div>
<div class="keybrd-row top-items">
<button id="leftarrow" class="larr" value="←" tabindex="-1">⇦</button>
<span class="navBtn nothing" value=" " tabindex="-1"> </span>
<button id="rightarrow" class="rarr" value="→" tabindex="-1">⇨</button>
</div>
<div class="keybrd-row top-items">
<button id="end" class="end" tabindex="-1">End</button>
</div>
<hr />
<div class="keybrd-row top-items">
<button class="numpad nonAlpha" tabindex="-1">7</button>
<button class="numpad nonAlpha" tabindex="-1">8</button>
<button class="numpad nonAlpha" tabindex="-1">9</button>
<button class="numpad nonAlpha" tabindex="-1">/</button>
</div>
<div class="keybrd-row top-items">
<button class="numpad nonAlpha" tabindex="-1">4</button>
<button class="numpad nonAlpha" tabindex="-1">5</button>
<button class="numpad nonAlpha" tabindex="-1">6</button>
<button class="numpad nonAlpha" tabindex="-1">*</button>
</div>
<div class="keybrd-row top-items">
<button class="numpad nonAlpha" tabindex="-1">1</button>
<button class="numpad nonAlpha" tabindex="-1">2</button>
<button class="numpad nonAlpha" tabindex="-1">3</button>
<button class="numpad nonAlpha" tabindex="-1">-</button>
</div>
<div class="keybrd-row top-items">
<button class="numpad nonAlpha zero2" tabindex="-1">0</button>
<button class="numpad nonAlpha" tabindex="-1">.</button>
<button class="numpad nonAlpha" tabindex="-1">+</button>
</div>
</div>
</div>
</section>
</main>
<footer class="primary-footer">
<div class="footer-container">
<h3>My important links:</h3>
<div class="footer-box">
<ul class="footer-nav">
<li><a href="https://courageous-cuchufli-816711.netlify.app/" target="_blank">Portfolio Home</a></li>
<li><a href="https://github.com/Kernix13/Kernix13/blob/main/resume.pdf" target="_blank">My Resume</a></li>
<li><a href="https://github.com/Kernix13" target="_blank">GitHub</a></li>
<li><a href="https://codepen.io/jim-kernicky/pens/public" target="_blank">Codepen</a></li>
<li><a href="https://www.freecodecamp.org/fccb4a9d0f6-135f-4a94-97f5-795068269ca7"
target="_blank">freeCodeCamp</a></li>
</ul>
</div>
<hr />
<p class="copyright">© 2021-2024 James Kernicky</p>
</div>
</footer>
<script type="module" src="./dist/js/index.js"></script>
</body>
</html>