forked from cmda-minor-web/css-to-the-rescue-2223
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
320 lines (278 loc) · 13.9 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
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Eindopdracht - Stefan Radouane</title>
<link rel="stylesheet" href="./styles/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
</head>
<body>
<form>
<button type="reset">Back to menu</button>
<header>
<h1>Level</h1>
<p>Step</p>
</header>
<h1 style="color:transparent;" data-effect="special">Danger the cube overheat<span></span></h1>
<section data-level-layers="7">
<p>Correct!</p>
<fieldset data-layer="1">
<input type="checkbox" name="box-puzzle" data-layer="1" data-type="Blue Front">
<input type="checkbox" name="box-puzzle" data-layer="1" data-type="Orange Front">
<input type="checkbox" name="box-puzzle" data-layer="1" data-type="Green Front" required>
<input type="checkbox" name="box-puzzle" data-layer="1" data-type="Red Front">
<input type="checkbox" name="box-puzzle" data-layer="1" data-type="Top Left">
<input type="checkbox" name="box-puzzle" data-layer="1" data-type="Top Right">
</fieldset>
<fieldset data-layer="2">
<input type="checkbox" name="box-puzzle" data-layer="2" data-type="Top Left" required>
<input type="checkbox" name="box-puzzle" data-layer="2" data-type="Top Right">
<input type="checkbox" name="box-puzzle" data-layer="2" data-type="Middle Left">
<input type="checkbox" name="box-puzzle" data-layer="2" data-type="Middle Right">
<input type="checkbox" name="box-puzzle" data-layer="2" data-type="Bottom Lef">
<input type="checkbox" name="box-puzzle" data-layer="2" data-type="Bottom Right">
</fieldset>
<fieldset data-layer="3">
<input type="checkbox" name="box-puzzle" data-layer="3" data-type="Left Up">
<input type="checkbox" name="box-puzzle" data-layer="3" data-type="Left Down">
<input type="checkbox" name="box-puzzle" data-layer="3" data-type="Middle Up" required>
<input type="checkbox" name="box-puzzle" data-layer="3" data-type="Middle Down">
<input type="checkbox" name="box-puzzle" data-layer="3" data-type="Right Up">
<input type="checkbox" name="box-puzzle" data-layer="3" data-type="Right Down">
</fieldset>
<fieldset data-layer="4">
<input type="checkbox" name="box-puzzle" data-layer="4" data-type="Top Row" required>
<input type="checkbox" name="box-puzzle" data-layer="4" data-type="Middle Row">
<input type="checkbox" name="box-puzzle" data-layer="4" data-type="Bottom Row">
<input type="checkbox" name="box-puzzle" data-layer="4" data-type="Left Up">
<input type="checkbox" name="box-puzzle" data-layer="4" data-type="Middle Up">
<input type="checkbox" name="box-puzzle" data-layer="4" data-type="Right Up">
</fieldset>
<fieldset data-layer="5">
<input type="checkbox" name="box-puzzle" data-layer="5" data-type="Top Up">
<input type="checkbox" name="box-puzzle" data-layer="5" data-type="Top Down">
<input type="checkbox" name="box-puzzle" data-layer="5" data-type="Middle Up">
<input type="checkbox" name="box-puzzle" data-layer="5" data-type="Middle Down" required>
<input type="checkbox" name="box-puzzle" data-layer="5" data-type="Right Up">
<input type="checkbox" name="box-puzzle" data-layer="5" data-type="Right Down">
</fieldset>
<fieldset data-layer="6">
<input type="checkbox" name="box-puzzle" data-layer="6" data-type="Top Left" required>
<input type="checkbox" name="box-puzzle" data-layer="6" data-type="Top Right">
<input type="checkbox" name="box-puzzle" data-layer="6" data-type="Middle Left">
<input type="checkbox" name="box-puzzle" data-layer="6" data-type="Middle Right">
<input type="checkbox" name="box-puzzle" data-layer="6" data-type="Bottom Left">
<input type="checkbox" name="box-puzzle" data-layer="6" data-type="Bottom Right">
</fieldset>
<fieldset data-layer="7">
<input type="checkbox" name="box-puzzle" data-layer="7" data-type="Front Yellow">
<input type="checkbox" name="box-puzzle" data-layer="7" data-type="Front Red">
<input type="checkbox" name="box-puzzle" data-layer="7" data-type="Front Blue">
<input type="checkbox" name="box-puzzle" data-layer="7" data-type="Front White">
<input type="checkbox" name="box-puzzle" data-layer="7" data-type="Front Orange">
<input type="checkbox" name="box-puzzle" data-layer="7" data-type="Front Green" required>
</fieldset>
<section data-layer="finish">
<h2>Well done!</h2>
<h3>You solved the cube</h3>
<img src="https://api.memegen.link/images/rollsafe/Me_after_completing_the_cube.gif" alt="funny cube meme">
</section>
</section>
<section>
<input type="checkbox" name="special">
</section>
<article>
<!-- Top Front Left -->
<span>
<span data-color="green" data-level1-color="yellow"></span>
<span data-color="red" data-level1-color="red"></span>
<span data-color="yellow" data-level1-color="blue"></span>
</span>
<!-- Top Middle Left -->
<span>
<span data-color="red" data-level1-color="red" data-level7-color="orange"></span>
<span data-color="yellow" data-level1-color="white"></span>
</span>
<!-- Top Back Left -->
<span>
<span data-color="blue" data-level1-color="yellow"></span>
<span data-color="red" data-level1-color="red"></span>
<span data-color="yellow" data-level1-color="green"></span>
</span>
<!-- Top Back Back -->
<span>
<span data-color="yellow" data-level1-color="white"></span>
<span data-color="blue" data-level1-color="green"></span>
</span>
<!-- Top Back Right -->
<span>
<span data-color="blue" data-level1-color="green"></span>
<span data-color="orange" data-level1-color="white"></span>
<span data-color="yellow" data-level1-color="red"></span>
</span>
<!-- Top Middle Right -->
<span>
<span data-color="orange" data-level1-color="blue" data-level7-color="green"></span>
<span data-color="yellow" data-level1-color="white"></span>
</span>
<!-- Top Front Right -->
<span>
<span data-color="green" data-level1-color="yellow"></span>
<span data-color="orange" data-level1-color="orange"></span>
<span data-color="yellow" data-level1-color="blue"></span>
</span>
<!-- Top Front Front -->
<span>
<span data-color="yellow" data-level1-color="white"></span>
<span data-color="green" data-level1-color="orange" data-level7-color="red"></span>
</span>
<!-- Top Middle Middle -->
<span>
<span data-color="yellow" data-level1-color="white"></span>
</span>
<!-- Middle Front Left -->
<span>
<span data-color="green" data-level1-color="green"></span>
<span data-color="red" data-level1-color="orange"></span>
</span>
<!-- Middle Middle Left -->
<span>
<span data-color="red" data-level1-color="orange"></span>
</span>
<!-- Middle Back Left -->
<span>
<span data-color="blue" data-level1-color="red"></span>
<span data-color="red" data-level1-color="green"></span>
</span>
<!-- Middle Back Back -->
<span>
<span data-color="blue" data-level1-color="blue"></span>
</span>
<!-- Middle Back Right -->
<span>
<span data-color="blue" data-level1-color="orange"></span>
<span data-color="orange" data-level1-color="blue"></span>
</span>
<!-- Middle Middle Right -->
<span>
<input type="checkbox" data-color="orange" data-level1-color="red" data-easter-egg="2">
</span>
<!-- Middle Front Right -->
<span>
<span data-color="green" data-level1-color="blue"></span>
<span data-color="orange" data-level1-color="yellow"></span>
</span>
<!-- Middle Front Front -->
<span>
<span data-color="green" data-level1-color="green"></span>
</span>
<!-- Bottom Front Left -->
<span>
<span data-color="green" data-level1-color="green"></span>
<span data-color="red" data-level1-color="orange"></span>
<span data-color="white" data-level1-color="yellow"></span>
</span>
<!-- Bottom Middle Left -->
<span>
<span data-color="red" data-level1-color="yellow"></span>
<span data-color="white" data-level1-color="red"></span>
</span>
<!-- Bottom Back Left -->
<span>
<span data-color="blue" data-level1-color="green"></span>
<span data-color="red" data-level1-color="orange"></span>
<span data-color="white" data-level1-color="white"></span>
</span>
<!-- Bottom Back Back -->
<span>
<span data-color="white" data-level1-color="green"></span>
<span data-color="blue" data-level1-color="yellow"></span>
</span>
<!-- Bottom Back Right -->
<span>
<span data-color="blue" data-level1-color="red"></span>
<span data-color="orange" data-level1-color="blue"></span>
<span data-color="white" data-level1-color="white"></span>
</span>
<!-- Bottom Middle Right -->
<span>
<span data-color="orange" data-level1-color="red"></span>
<span data-color="white" data-level1-color="blue"></span>
</span>
<!-- Bottom Front Right -->
<span>
<!-- <span data-color="green" data-level1-color="blue"></span> -->
<input type="checkbox" data-color="green" data-level1-color="blue" data-easter-egg="1">
<span data-color="orange" data-level1-color="white"></span>
<span data-color="white" data-level1-color="orange"></span>
</span>
<!-- Bottom Front Front -->
<span>
<span data-color="white" data-level1-color="orange"></span>
<span data-color="green" data-level1-color="yellow"></span>
</span>
<!-- Bottom Middle Middle -->
<span>
<span data-color="white" data-level1-color="yellow"></span>
</span>
</article>
<!-- </section> -->
<input type="range" id="vertical" value="49" max="100" aria-orientation="vertical">
<input type="range" id="horizontal" value="49" max="100">
<dialog>
<h1>Cube Trainer</h1>
<h2>Door Stefan Radouane</h2>
<h3>Gemaakt voor CCS to the Rescue - 2023</h3>
<p>So you want to learn how to cube right</p>
<p>Select the step that you want to solve!</p>
<!-- <p>You are now going to solve the last step of the rubiks cube.</p> -->
<p>Good Luck!</p>
<section>
<section>
<h3>Level 1</h3>
<p>Make a white cross (top)</p>
<input type="checkbox" data-level="1-spectator">
</section>
<section>
<h3>Level 2</h3>
<p>Complete the white side</p>
<input type="checkbox" disabled>
</section>
<section>
<h3>Level 3</h3>
<p>Complete the second row</p>
<input type="checkbox" disabled>
</section>
<section>
<h3>Level 4</h3>
<p>Yellow cross</p>
<input type="checkbox" disabled>
</section>
<section>
<h3>Level 5</h3>
<p>Complete the yellow side</p>
<input type="checkbox" disabled>
</section>
<section>
<h3>Level 6</h3>
<p>Set the corners</p>
<input type="checkbox" disabled>
</section>
<section>
<h3>Level 7</h3>
<p>Complete the cube</p>
<input type="checkbox" value="7" data-level="7"> <!-- REMOVE CHECKED -->
</section>
<section>
<h3>Look at a solved cube</h3>
<p>Why not?</p>
<input type="checkbox" data-level="spectator">
</section>
</section>
</dialog>
</form>
<script src="scripts/slider.js"></script>
</body>
</html>