-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
327 lines (308 loc) · 21 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>The Bayground</title>
<link href="https://fonts.googleapis.com/css?family=Sedgwick+Ave+Display" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Alef|Reem+Kufi" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-115178608-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-115178608-1');
</script>
</head>
<body class="portfolio-bayground">
<div class="page">
<main class="container">
<section class="row">
<div class="bayground-container">
<h1 class="container-bayground-projects__header">The Bayground</h1>
<p class="container-bayground-projects__info">Click on a module to try it out.</p>
<div class="project-link">
<a href="https://github.com/zbayoff/bayground" target="_blank">Project Repo</a>
</div>
<div class="container-modules">
<section class="project-prime">
<div class="module-item">
<h3 class="module-title">Find Prime Numbers from Range</h3>
</div>
<div class="modal">
<div class="modal-column">
<div class="modal-content">
<div class="modal-header">
<span class="close close-js">×</span>
<h2>Find Prime Numbers Between Two Numbers</h2>
</div>
<div class="modal-body">
<div class="form-group">
<label class="form-label">Enter First Number</label>
<input class="form-input first-num-js" type="number">
</div>
<div class="form-group">
<label class="form-label">Enter Second Number</label>
<input class="form-input second-num-js" type="number">
</div>
<div>
<button type="button" class="find-button-js">Find</button>
</div>
<div>
<p>Result:</p>
<div class="prime__result-area">
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Prime Number Module Section -->
<section class="project-speedType">
<div class="module-item">
<h3 class="module-title">Speed Typing Test</h3>
</div>
<div class="modal">
<div class="modal-column">
<div class="modal-content">
<div class="modal-header">
<span class="close close-js">×</span>
<h2>Speed Typing Test</h2>
</div>
<div class="modal-body">
<p class="project-speedTest__instruct">Here you are given a prompt and must
type it correctly in the text box below.
Once typed correctly, your results will display below.</p>
<p>Prompt:</p>
<blockquote class="project-speedTest__prompt"></blockquote>
<div class="form-group">
<textarea class="project-speedType__textarea form-text-area"></textarea>
</div>
<p class="project-speedType__timer">00:00:00</p>
<div class="project-speedType__results">
<p class="project-speedType__result-WPM"></p>
<p class="project-speedType__result-blurb"></p>
<p>Try again to improve your speed or get a different prompt!</p>
</div>
<button class="project-speedType__tryagain-btn" type="button">Try Again</button>
<button class="project-speedType__diffprompt-btn" type="button">Different
Prompt</button>
</div>
</div>
</div>
</div>
</section>
<!-- Speed Typing Module Section -->
<section class="project-concentrateYo">
<div class="module-item">
<h3 class="module-title">Concentrate Yo!</h3>
</div>
<div class="modal">
<div class="modal-column">
<div class="modal-content">
<div class="modal-header">
<span class="close close-js">×</span>
<h2>Concentrate Yo!</h2>
</div>
<div class="modal-body">
<p class="project-concentrateYo__instruct">The game of concentration. Find
the matching flags. Test your memory!</p>
<div class="project-concentrateYo__container">
<div>
<label value="Create Grid Size">Enter Grid Size (2, 4, 6, 8, 10)</label>
<input type="number" class="form-input-inline project-concentrateYo__gridSizeInput">
<span>
<button type="button" class="button project-concentrateYo__createGrid-btn">Create
Grid</button>
</span>
</div>
<div>
<p class="project-concentrateYo__grid-error"></p>
</div>
<div class="project-concentrateYo__grid-container">
<div class="loading-spinner">
<img src="assets/img/hangman/Rolling-1s-200px.gif">
</div>
</div>
</div>
<div class="project-concentrateYo__results">
<p class="project-concentrateYo__timer">00:00:00</p>
<p class="project-concentrateYo__result-accuracy"></p>
<p class="project-concentrateYo__result-blurb"></p>
</div>
<button class="button project-concentrateYo__playagain-btn" type="button">Play
Again</button>
</div>
</div>
</div>
</div>
</section>
<!-- ConcentrateYo Module Section -->
<section class="project-hangman">
<div class="module-item">
<h3 class="module-title">Hangman</h3>
</div>
<div class="modal">
<div class="modal-column">
<div class="modal-content">
<div class="modal-header">
<span class="close close-js">×</span>
<h2>Hangman</h2>
</div>
<div class="modal-body">
<p>Generate a random hidden phrase. Make some guesses, but not too many, or
else...</p>
<div class="difficulty-container">
<p>Difficulty</p>
<div class="difficulty-choice">
<input type="radio" id="hangman-difficulty-easy-js" name="difficulty"
checked />
<label for="hangman-difficulty-easy-js">Easy</label>
</div>
<div class="difficulty-choice">
<input type="radio" id="hangman-difficulty-hard-js" name="difficulty" />
<label for="hangman-difficulty-hard-js">Hard</label>
</div>
</div>
<button type="button" class="start-btn-js button">Start</button>
<section class="graphic-bad-letters-container">
<div class="bad-letters-container">
</div>
<div id="hangman-graphic-container">
</div>
</section>
<div class="loading-spinner">
<img src="assets/img/hangman/Rolling-1s-200px.gif">
</div>
<div class="hangman-final-phrase-container">
</div>
<div class="hangman-keyboard-container">
<p class="keyboard-letter-js">A</p>
<p class="keyboard-letter-js">B</p>
<p class="keyboard-letter-js">C</p>
<p class="keyboard-letter-js">D</p>
<p class="keyboard-letter-js">E</p>
<p class="keyboard-letter-js">F</p>
<p class="keyboard-letter-js">G</p>
<p class="keyboard-letter-js">H</p>
<p class="keyboard-letter-js">I</p>
<p class="keyboard-letter-js">J</p>
<p class="keyboard-letter-js">K</p>
<p class="keyboard-letter-js">L</p>
<p class="keyboard-letter-js">M</p>
<p class="keyboard-letter-js">N</p>
<p class="keyboard-letter-js">O</p>
<p class="keyboard-letter-js">P</p>
<p class="keyboard-letter-js">Q</p>
<p class="keyboard-letter-js">R</p>
<p class="keyboard-letter-js">S</p>
<p class="keyboard-letter-js">T</p>
<p class="keyboard-letter-js">U</p>
<p class="keyboard-letter-js">V</p>
<p class="keyboard-letter-js">W</p>
<p class="keyboard-letter-js">X</p>
<p class="keyboard-letter-js">Y</p>
<p class="keyboard-letter-js">Z</p>
</div>
<div class="hangman-results-container">
</div>
<button type="button" class="playagain-btn-js button">Play Again</button>
</div>
</div>
</div>
</div>
</section>
<!-- Hangman Module Section -->
<section class="project-calculator">
<div class="module-item">
<h3 class="module-title">Calculator</h3>
</div>
<div class="modal">
<div class="modal-column">
<div class="modal-content">
<div class="modal-header">
<span class="close close-js">×</span>
<h2>Calculator</h2>
</div>
<div class="modal-body">
<h3 class="title">"Math is a wonderful thing!"</h3>
<h4 class="title-quote-author">- Mr.Schneebly</h4>
<div class="calculator-container">
<div class="display-area">0</div>
<section class="calculator-keys">
<button type="button" class="all-clear" value="all-clear">AC</button>
<button type="button" class="div-btn-js operator operator-js" value="divide">/</button>
<button type="button" class="mult-btn-js operator operator-js"
value="multiply">*</button>
<button type="button" class="sub-btn-js operator operator-js" value="subtract">-</button>
<button type="button" class="add-btn-js operator operator-js" value="add">+</button>
<button type="button" class="compute-btn-js equal-sign operator" value="equal">=</button>
<button type="button" class="num-btn num-btn-js" value="7">7</button>
<button type="button" class="num-btn num-btn-js" value="8">8</button>
<button type="button" class="num-btn num-btn-js" value="9">9</button>
<button type="button" class="num-btn num-btn-js" value="4">4</button>
<button type="button" class="num-btn num-btn-js" value="5">5</button>
<button type="button" class="num-btn num-btn-js" value="6">6</button>
<button type="button" class="num-btn num-btn-js" value="1">1</button>
<button type="button" class="num-btn num-btn-js" value="2">2</button>
<button type="button" class="num-btn num-btn-js" value="3">3</button>
<button type="button" class="num-btn num-btn-js" value=".">.</button>
<button type="button" class="num-btn num-btn-js zero-btn" value="0">0</button>
</section>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Calculator Module Section -->
<section class="project-dictionary">
<div class="module-item">
<h3 class="module-title">Dictionary</h3>
</div>
<div class="modal">
<div class="modal-column">
<div class="modal-content">
<div class="modal-header">
<span class="close close-js">×</span>
<h2>Dictionary</h2>
</div>
<div class="modal-body">
<h3>Enter a word you would like to define. Find your list of words saved, so that they still remain even after you close the browser.</h3>
<form class="dictionary-form">
<input type="text" class="word-input-js">
</form>
<div class="definition-results-container-js">
</div>
<div class="definition-results-loader-js">
<img src="assets/img/hangman/Rolling-1s-200px.gif">
</div>
<h3>Your List of Words <span><button class="clear-definitions-all-js">Clear All</button></span></h3>
<div class="definition-list-js">
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Dictionary Module Section -->
</div>
</div>
</section>
</main>
<footer>
<section>
<p><script>document.write((new Date()).getFullYear())</script> Built with Vanilla JavaScript.</p>
</section>
</footer>
</div>
</body>
</html>