-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmath-page.html
More file actions
607 lines (563 loc) · 36.6 KB
/
Copy pathmath-page.html
File metadata and controls
607 lines (563 loc) · 36.6 KB
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
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>K–12 Math Lessons | CoolMathTime</title>
<script src="https://houselearning.org/cookiebanner.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script>
<script src="https://houselearning.org/home/main.js"></script>
<script src="/feedback.js"></script>
<script type="module" src="also.js"></script>
<style>
/* ---------------- base resets ---------------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
margin: 0;
font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
background: #f7f8fa;
color: #222;
min-height: 100vh;
display: flex;
flex-direction: column;
transition: background 0.25s, color 0.25s;
}
body.dark-mode {
background: #0f1113;
color: #eaeaea;
}
/* ---------------- navbar ---------------- */
.navbar {
background-color: #20232a;
display: flex;
align-items: center;
justify-content: center;
overflow-x: auto;
padding: 12px 12px;
gap: 8px;
box-shadow: 0 2px 6px rgb(0 0 0 / 0.12);
}
body.dark-mode .navbar {
background-color: #151515;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.navbar-inner {
display: flex;
gap: 8px;
white-space: nowrap;
padding: 0 6px;
}
.navbar a {
color: #61dafb;
text-decoration: none;
padding: 10px 14px;
font-weight: 600;
font-size: 14px;
border-radius: 8px;
flex-shrink: 0;
transition: background 0.15s, color 0.15s, transform 0.06s;
}
.navbar a:hover { transform: translateY(-2px); }
.navbar a:focus { outline: 3px solid rgba(97, 218, 251, 0.2); }
/* ---------------- layout containers ---------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 24px; }
main { flex: 1; padding: 20px; display: block; }
.page {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr;
gap: 20px;
}
.section {
background: white;
padding: 18px;
border-radius: 10px;
box-shadow: 0 6px 18px rgb(2 8 23 / 6%);
transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
body.dark-mode .section {
background: #1e1e1e;
color: #f1f1f1;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
h2 {
font-weight: 700;
color: #20232a;
border-bottom: 3px solid #61dafb;
padding-bottom: 8px;
margin: 0 0 14px 0;
}
body.dark-mode h2 { color: #9be7ff; }
/* ---------------- grid of cards ---------------- */
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 14px;
}
.lesson-card, .game-card {
background: #fff;
border-radius: 10px;
padding: 14px;
text-align: center;
box-shadow: 2px 6px 16px rgba(2, 8, 23, 0.06);
transition: transform 0.12s, box-shadow 0.12s;
display: flex;
flex-direction: column;
gap: 8px;
min-height: 110px;
}
.lesson-card:hover, .game-card:hover { transform: translateY(-6px); }
body.dark-mode .lesson-card, body.dark-mode .game-card {
background: #262626;
box-shadow: 2px 6px 16px rgba(0, 0, 0, 0.6);
}
.lesson-card h3, .game-card h3 {
color: #0288d1;
font-size: 16px;
margin: 6px 0 8px 0;
}
body.dark-mode .lesson-card h3, body.dark-mode .game-card h3 { color: #61dafb; }
.lesson-card a, .game-card a {
text-decoration: none;
color: white;
background: #0288d1;
padding: 8px 12px;
border-radius: 6px;
display: inline-block;
margin-top: auto;
align-self: center;
font-weight: 600;
}
.lesson-card a:hover, .game-card a:hover { background: #01579b; }
/* ---------------- theme switcher (floating) ---------------- */
.theme-switch-wrapper {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1200;
display: flex;
gap: 6px;
background: rgba(255, 255, 255, 0.9);
padding: 6px;
border-radius: 10px;
box-shadow: 0 6px 18px rgba(2, 8, 23, 0.08);
}
body.dark-mode .theme-switch-wrapper {
background: rgba(20, 20, 20, 0.85);
}
.theme-switch-wrapper button {
border: none;
background: transparent;
font-size: 18px;
padding: 8px 10px;
border-radius: 8px;
cursor: pointer;
transition: background 0.12s, transform 0.08s;
}
.theme-switch-wrapper button[aria-pressed="true"] {
background: rgba(2, 136, 209, 0.14);
box-shadow: inset 0 -2px 0 rgba(2, 136, 209, 0.16);
transform: translateY(-1px);
}
.theme-switch-wrapper button:focus { outline: 2px solid rgba(97, 218, 251, 0.2); }
/* ---------------- responsive tweaks ---------------- */
@media (max-width: 900px) {
.page { padding: 0 6px; }
.navbar { padding: 8px; }
.navbar-inner { gap: 6px; }
.content-wrapper {
flex-direction: column;
}
.games-section {
max-width: none;
}
}
@media (max-width: 420px) {
.theme-switch-wrapper { right: 12px; bottom: 12px; padding: 4px; gap: 4px; }
.lesson-card, .game-card { padding: 10px; }
}
/* ---------------- new styles for layout adjustment ---------------- */
.content-wrapper {
display: flex;
flex-direction: row;
gap: 20px;
}
.main-content {
flex: 3;
}
.games-section {
flex: 1;
max-width: 300px;
}
</style>
</head>
<body>
<div class="container">
<div class="content-wrapper">
<div class="main-content">
<h1>K–12 Math Lessons | CoolMathTime</h1>
<div class="grade-navigation-buttons">
<h2>Warp to Grade:</h2>
<div id="warp-buttons-container"></div>
</div>
<!-- Search Bar -->
<div class="search-bar">
<input type="text" id="searchInput" placeholder="Search for a lesson...">
</div>
<section class="section" aria-labelledby="kindergarten" >
<h2 id="kindergarten">Kindergarten</h2>
<div class="grid">
<div class="lesson-card"><h3>Counting to 10</h3><a href="/home/math/k/counting-10.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Counting 11–20</h3><a href="/home/math/k/counting-20.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Shapes & Colors</h3><a href="/home/math/k/shapes-colors.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Comparing Sizes</h3><a href="/home/math/k/comparing-sizes.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Simple Patterns</h3><a href="/home/math/k/simple-patterns.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Introduction to Zero</h3><a href="/home/math/k/intro-zero.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Counting by 2s</h3><a href="/home/math/k/skip-count-2s.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Days of the Week</h3><a href="/home/math/k/days-of-week.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Picture Addition</h3><a href="/home/math/k/picture-addition.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Sorting Objects</h3><a href="/home/math/k/sorting-objects.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 1 -->
<section class="section" aria-labelledby="grade1">
<h2 id="grade1">Grade 1</h2>
<div class="grid">
<div class="lesson-card"><h3>Numbers to 100</h3><a href="/home/math/grade1/numbers-to-100.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Place Value (Tens & Ones)</h3><a href="/home/math/grade1/place-value.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Add within 20</h3><a href="/home/math/grade1/add-within-20.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Subtract within 20</h3><a href="/home/math/grade1/subtract-within-20.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Word Problems Basics</h3><a href="/home/math/grade1/word-problems.html">Start Lesson</a></div>
<div class="lesson-card"><h3>2D Shapes</h3><a href="/home/math/grade1/2d-shapes.html">Start Lesson</a></div>
<div class="lesson-card"><h3>3D Shapes</h3><a href="/home/math/grade1/3d-shapes.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Measurement Tools</h3><a href="/home/math/grade1/measurement.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Time to the Hour</h3><a href="/home/math/grade1/time-hour.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Money (USD)</h3><a href="/home/math/grade1/money-coins.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 2 -->
<section class="section" aria-labelledby="grade2">
<h2 id="grade2">Grade 2</h2>
<div class="grid">
<div class="lesson-card"><h3>Numbers to 1,000</h3><a href="/home/math/grade2/numbers-to-1000.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Place Value (H/T/O)</h3><a href="/home/math/grade2/place-value-hto.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Two‑Digit Addition</h3><a href="/home/math/grade2/two-digit-addition.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Two‑Digit Subtraction</h3><a href="/home/math/grade2/two-digit-subtraction.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Intro to Multiplication</h3><a href="/home/math/grade2/intro-multiplication.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Intro to Division</h3><a href="/home/math/grade2/intro-division.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Fractions (1/2, 1/3, 1/4)</h3><a href="/home/math/grade2/fractions-basics.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Measurement (cm/in)</h3><a href="/home/math/grade2/measurement.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Telling Time (Quarter & Half)</h3><a href="/home/math/grade2/time-quarter-half.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Word Problems A/S</h3><a href="/home/math/grade2/word-problems-as.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 3 -->
<section class="section" aria-labelledby="grade3">
<h2 id="grade3">Grade 3</h2>
<div class="grid">
<div class="lesson-card"><h3>Multiplication Facts (0–12)</h3><a href="/home/math/grade3/multiplication-facts.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Division Facts</h3><a href="/home/math/grade3/division-facts.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Area & Perimeter (Rects)</h3><a href="/home/math/grade3/area-perimeter-rectangles.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Equivalent Fractions</h3><a href="/home/math/grade3/equivalent-fractions.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Decimals (Tenths)</h3><a href="/home/math/grade3/decimals-tenths.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Rounding (10s/100s)</h3><a href="/home/math/grade3/rounding.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Mult/Div Word Problems</h3><a href="/home/math/grade3/word-problems-md.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Bar Graphs</h3><a href="/home/math/grade3/bar-graphs.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Time to the Minute</h3><a href="/home/math/grade3/time-minute.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Fraction Word Problems</h3><a href="/home/math/grade3/word-problems-fractions.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 4 -->
<section class="section" aria-labelledby="grade4">
<h2 id="grade4">Grade 4</h2>
<div class="grid">
<div class="lesson-card"><h3>Multi‑Digit Add/Subtract</h3><a href="/home/math/grade4/multidigit-as.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Multiplication (2–3 digits)</h3><a href="/home/math/grade4/multiplication-2-3-digit.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Division with Remainders</h3><a href="/home/math/grade4/division-remainders.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Factors & Multiples</h3><a href="/home/math/grade4/factors-multiples.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Fractions Add/Subtract</h3><a href="/home/math/grade4/fractions-add-subtract.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Multiply Fractions</h3><a href="/home/math/grade4/fractions-multiply.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Decimals (Tenths/Hundredths)</h3><a href="/home/math/grade4/decimals-th.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Geometry (Angles/Lines)</h3><a href="/home/math/grade4/geometry-angles-lines.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Measurement Conversion</h3><a href="/home/math/grade4/measurement-conversion.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Graphs & Data Tables</h3><a href="/home/math/grade4/graphs-data.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 5 -->
<section class="section" aria-labelledby="grade5">
<h2 id="grade5">Grade 5</h2>
<div class="grid">
<div class="lesson-card"><h3>Long Division</h3><a href="/home/math/grade5/long-division.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Multiplying Fractions</h3><a href="/home/math/grade5/multiplying-fractions.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Dividing Fractions</h3><a href="/home/math/grade5/dividing-fractions.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Add/Subtract Decimals</h3><a href="/home/math/grade5/add-subtract-decimals.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Multiply/Divide Decimals</h3><a href="/home/math/grade5/multiply-divide-decimals.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Volume (Cubic Units)</h3><a href="/home/math/grade5/volume-cubes.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Surface Area (Cubes)</h3><a href="/home/math/grade5/surface-area-cubes.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Order of Operations (PEMDAS)</h3><a href="/home/math/grade5/pemdas.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Coordinate Plane (Q1)</h3><a href="/home/math/grade5/coordinate-plane.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Intro to Percentages</h3><a href="/home/math/grade5/intro-percentages.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 6 -->
<section class="section" aria-labelledby="grade6">
<h2 id="grade6">Grade 6</h2>
<div class="grid">
<div class="lesson-card"><h3>Ratios & Proportions</h3><a href="/home/math/grade6/ratios-proportions.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Unit Rates</h3><a href="/home/math/grade6/unit-rates.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Percent Problems</h3><a href="/home/math/grade6/percent-problems.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Integers: Add/Subtract</h3><a href="/home/math/grade6/integers-add-subtract.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Integers: Mult/Div</h3><a href="/home/math/grade6/integers-mult-div.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Absolute Value</h3><a href="/home/math/grade6/absolute-value.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Expressions & Equations</h3><a href="/home/math/grade6/expressions-equations.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Area (Triangles/Parallelograms)</h3><a href="/home/math/grade6/area-triangles-parallelograms.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Volume (Rectangular Prisms)</h3><a href="/home/math/grade6/volume-rectangular-prisms.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Statistics (Mean/Median/Mode)</h3><a href="/home/math/grade6/statistics-mean-median-mode.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 7 -->
<section class="section" aria-labelledby="grade7">
<h2 id="grade7">Grade 7</h2>
<div class="grid">
<div class="lesson-card"><h3>One‑Step Equations</h3><a href="/home/math/grade7/one-step-equations.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Two‑Step Equations</h3><a href="/home/math/grade7/two-step-equations.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Inequalities</h3><a href="/home/math/grade7/inequalities.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Proportional Relationships</h3><a href="/home/math/grade7/proportional-relationships.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Percent Applications (Interest)</h3><a href="/home/math/grade7/percent-applications.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Circles (Area & Circumference)</h3><a href="/home/math/grade7/circles-area-circumference.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Surface Area (Prisms/Cylinders)</h3><a href="/home/math/grade7/surface-area.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Probability (Simple)</h3><a href="/home/math/grade7/probability-simple.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Sampling & Distributions</h3><a href="/home/math/grade7/sampling-distributions.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Linear Relationships (Intro)</h3><a href="/home/math/grade7/linear-relationships-intro.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 8 -->
<section class="section" aria-labelledby="grade8">
<h2 id="grade8">Grade 8</h2>
<div class="grid">
<div class="lesson-card"><h3>Multi‑Step Equations</h3><a href="/home/math/grade8/multi-step-equations.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Systems of Equations</h3><a href="/home/math/grade8/systems-of-equations.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Functions & Graphs</h3><a href="/home/math/grade8/functions-graphs.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Pythagorean Theorem</h3><a href="/home/math/grade8/pythagorean-theorem.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Exponents (±)</h3><a href="/home/math/grade8/exponents.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Scientific Notation</h3><a href="/home/math/grade8/scientific-notation.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Transformations</h3><a href="/home/math/grade8/transformations.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Volume (Cones/Spheres/Cylinders)</h3><a href="/home/math/grade8/volume-cones-spheres-cylinders.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Probability (Compound)</h3><a href="/home/math/grade8/probability-compound.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Intro to Quadratics</h3><a href="/home/math/grade8/intro-quadratics.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 9 (Algebra I) -->
<section class="section" aria-labelledby="grade9">
<h2 id="grade9">Grade 9 (Algebra I)</h2>
<div class="grid">
<div class="lesson-card"><h3>Expressions & Polynomials</h3><a href="/home/math/grade9/expressions-polynomials.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Factoring Quadratics</h3><a href="/home/math/grade9/factoring-quadratics.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Solving Quadratic Equations</h3><a href="/home/math/grade9/solving-quadratics.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Systems of Linear Equations</h3><a href="/home/math/grade9/systems-linear.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Functions & Relations</h3><a href="/home/math/grade9/functions-relations.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Graphing Linear & Quadratic</h3><a href="/home/math/grade9/graphing-linear-quadratic.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Exponential Functions</h3><a href="/home/math/grade9/exponential-functions.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Radicals & Rational Expr.</h3><a href="/home/math/grade9/radicals-rational.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Inequalities & Abs. Value</h3><a href="/home/math/grade9/inequalities-absolute.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Applications & Modeling</h3><a href="/home/math/grade9/applications-modeling.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 10 (Geometry) -->
<section class="section" aria-labelledby="grade10">
<h2 id="grade10">Grade 10 (Geometry)</h2>
<div class="grid">
<div class="lesson-card"><h3>Points, Lines & Planes</h3><a href="/home/math/grade10/points-lines-planes.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Congruence & Transformations</h3><a href="/home/math/grade10/congruence-transformations.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Proofs (Two‑Column)</h3><a href="/home/math/grade10/proofs-two-column.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Similar Triangles</h3><a href="/home/math/grade10/similar-triangles.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Right Triangles & Trig</h3><a href="/home/math/grade10/right-triangles-trig.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Circles (Chords/Tangents/Arcs)</h3><a href="/home/math/grade10/circles.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Volume & Surface Area</h3><a href="/home/math/grade10/volume-surface-area.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Coordinate Geometry</h3><a href="/home/math/grade10/coordinate-geometry.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Geometric Probability</h3><a href="/home/math/grade10/geometric-probability.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Constructions</h3><a href="/home/math/grade10/constructions.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 11 (Algebra II / Pre‑Calc A) -->
<section class="section" aria-labelledby="grade11">
<h2 id="grade11">Grade 11 (Algebra II / Pre‑Calc A)</h2>
<div class="grid">
<div class="lesson-card"><h3>Complex Numbers</h3><a href="/home/math/grade11/complex-numbers.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Polynomial Functions</h3><a href="/home/math/grade11/polynomial-functions.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Rational Functions</h3><a href="/home/math/grade11/rational-functions.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Exponential & Logarithmic</h3><a href="/home/math/grade11/exponential-logarithmic.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Sequences & Series</h3><a href="/home/math/grade11/sequences-series.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Probability & Statistics</h3><a href="/home/math/grade11/probability-statistics.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Trig Ratios & Graphs</h3><a href="/home/math/grade11/trig-ratios-graphs.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Law of Sines & Cosines</h3><a href="/home/math/grade11/law-of-sines-cosines.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Transformations of Functions</h3><a href="/home/math/grade11/transformations-of-functions.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Intro to Limits</h3><a href="/home/math/grade11/intro-limits.html">Start Lesson</a></div>
</div>
</section>
<!-- Grade 12 (Pre‑Calc B / Calc Intro) -->
<section class="section" aria-labelledby="grade12">
<h2 id="grade12">Grade 12 (Pre‑Calc B / Calc Intro)</h2>
<div class="grid">
<div class="lesson-card"><h3>Trig Identities</h3><a href="/home/math/grade12/trig-identities.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Inverse Trig Functions</h3><a href="/home/math/grade12/inverse-trig.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Polar Coordinates</h3><a href="/home/math/grade12/polar-coordinates.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Parametric Equations</h3><a href="/home/math/grade12/parametric-equations.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Vectors (Intro)</h3><a href="/home/math/grade12/vectors-intro.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Derivatives (Basics)</h3><a href="/home/math/grade12/derivatives-basics.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Applications of Derivatives</h3><a href="/home/math/grade12/applications-derivatives.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Integrals (Basics)</h3><a href="/home/math/grade12/integrals-basics.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Area Under a Curve</h3><a href="/home/math/grade12/area-under-curve.html">Start Lesson</a></div>
<div class="lesson-card"><h3>Intro to Differential Equations</h3><a href="/home/math/grade12/intro-differential-equations.html">Start Lesson</a></div>
</div>
</section>
<section class="section" aria-labelledby="bin">
<h2 id="lessons-title">Old CoolMathTime lessons</h2>
<div class="grid" id="lessons-grid">
<div class="lesson-card"><h3>Counting & Numbers</h3><a href="https://houselearning.org/home/math/bin/countingnumbers.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Addition & Subtraction</h3><a href="https://houselearning.org/home/math/bin/addandsubtract.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Multiplication & Division</h3><a href="https://houselearning.org/home/math/bin/multiplyanddivide.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Fractions & Decimals</h3><a href="https://houselearning.org/home/math/bin/fractionanddecimals.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Basic Geometry</h3><a href="https://houselearning.org/home/math/bin/basicgeometry.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Measurement & Time</h3><a href="https://houselearning.org/home/math/bin/measurementandtime.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Money Math</h3><a href="https://houselearning.org/home/math/bin/moneysort.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Algebra Basics</h3><a href="https://houselearning.org/home/math/bin/basicalgebra.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Graphing & Coordinates</h3><a href="https://houselearning.org/home/math/bin/coords.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Probability & Statistics</h3><a href="https://houselearning.org/home/math/bin/stats.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Word Problems</h3><a href="https://houselearning.org/home/math/bin/wordproblems.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Patterns & Sequences</h3><a href="https://houselearning.org/home/math/bin/patternsequ.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Exponents & Roots</h3><a href="https://houselearning.org/home/math/bin/exponents.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Integers & Rational Numbers</h3><a href="https://houselearning.org/home/math/bin/ratios.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Ratios & Proportions</h3><a href="https://houselearning.org/home/math/bin/proportions.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Angles & Shapes</h3><a href="https://houselearning.org/home/math/bin/angles.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Perimeter & Area</h3><a href="https://houselearning.org/home/math/bin/perimeter.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Volume & Surface Area</h3><a href="https://houselearning.org/home/math/bin/volumesurface.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Graphing Equations</h3><a href="https://houselearning.org/home/math/bin/graphequations.html" target="_blank" rel="noopener">Start Lesson</a></div>
<div class="lesson-card"><h3>Linear Functions</h3><a href="https://houselearning.org/home/math/bin/linearfunctions.html" target="_blank" rel="noopener">Start Lesson</a></div>
</div>
</section>
</div>
<div class="games-section">
<section class="section" aria-labelledby="games-title">
<h2 id="games-title">Math Games</h2>
<div class="grid" id="games-grid">
<div class="game-card">
<img src="https://houselearning.org/home/assets/main/mathmaze.png" alt="Math Maze">
<h3>Math Maze</h3>
<a href="https://houselearning.org/home/math/games/mathmaze.html" target="_blank" rel="noopener">Play Now</a>
</div>
<div class="game-card">
<img src="https://houselearning.org/android-chrome-512x512.png" alt="Game in development placeholder">
<h3>GAME IN DEVELOPMENT</h3>
<a href="#" target="_blank" rel="noopener">WORTH THE WAIT!</a>
</div>
<div class="game-card">
<img src="https://houselearning.org/home/assets/main/fractionfrenzy.png" alt="Fraction Frenzy">
<h3>Fraction Frenzy</h3>
<a href="https://houselearning.org/home/math/games/fractionfrenzy.html" target="_blank" rel="noopener">Play Now</a>
</div>
<div class="game-card">
<img src="https://houselearning.org/home/assets/main/shapesorter.png" alt="Shape Sorter">
<h3>Shape Sorter</h3>
<a href="https://houselearning.org/home/math/games/shapesort.html" target="_blank" rel="noopener">Play Now</a>
</div>
<div class="game-card">
<img src="https://houselearning.org/home/assets/main/mathmemory.png" alt="Math Memory">
<h3>Math Memory</h3>
<a href="https://houselearning.org/home/math/games/mathmemory.html" target="_blank" rel="noopener">Play Now</a>
</div>
<div class="game-card">
<img src="https://houselearning.org/home/assets/main/timetraveler.png" alt="Time Traveler">
<h3>Time Traveler</h3>
<a href="https://houselearning.org/home/math/games/timetravel.html" target="_blank" rel="noopener">Play Now</a>
</div>
<div class="game-card">
<img src="https://houselearning.org/home/assets/main/equationescape.png" alt="Equation Escape">
<h3>Equation Escape</h3>
<a href="https://houselearning.org/home/math/games/equationescape.html" target="_blank" rel="noopener">Play Now</a>
</div>
<div class="game-card">
<img src="https://houselearning.org/home/assets/main/graphgenius.png" alt="Graph Genius">
<h3>Graph Genius</h3>
<a href="https://houselearning.org/home/math/games/graphgenius.html" target="_blank" rel="noopener">Play Now</a>
</div>
<div class="game-card">
<!-- placeholder image & link for algebruh since original was incomplete -->
<img src="https://houselearning.org/android-chrome-512x512.png" alt="Game in development placeholder">
<h3>GAME IN DEVELOPMENT</h3>
<a href="#" target="_blank" rel="noopener">WORTH THE WAIT!</a>
</div>
<div class="game-card">
<img src="https://houselearning.org/home/assets/main/moneymadness.png" alt="Money Madness">
<h3>Money Madness</h3>
<a href="https://houselearning.org/home/math/games/moneymadness.html" target="_blank" rel="noopener">Play Now</a>
</div>
</div>
</section>
</div>
</div>
</div>
<div class="theme-switch-wrapper" role="toolbar" aria-label="Theme switcher">
<button id="light-mode-btn" aria-pressed="false" title="Use light theme">☀️</button>
<button id="dark-mode-btn" aria-pressed="false" title="Use dark theme">🌙</button>
<button id="auto-mode-btn" aria-pressed="true" title="Follow system / automatic">🌓</button>
</div>
</body>
<script>
// Theme switcher logic
(function() {
const MODE_KEY = 'coolmathtime_theme';
const body = document.body;
const btnLight = document.getElementById('light-mode-btn');
const btnDark = document.getElementById('dark-mode-btn');
const btnAuto = document.getElementById('auto-mode-btn');
const buttons = [btnLight, btnDark, btnAuto];
function applyMode(mode) {
body.classList.remove('dark-mode');
if (mode === 'dark') body.classList.add('dark-mode');
buttons.forEach(b => b.setAttribute('aria-pressed', 'false'));
if (mode === 'light') btnLight.setAttribute('aria-pressed', 'true');
if (mode === 'dark') btnDark.setAttribute('aria-pressed', 'true');
if (mode === 'auto') btnAuto.setAttribute('aria-pressed', 'true');
}
function saveMode(mode) {
try { localStorage.setItem(MODE_KEY, mode); } catch (e) {}
}
function loadMode() {
try {
const stored = localStorage.getItem(MODE_KEY);
if (['light', 'dark', 'auto'].includes(stored)) return stored;
} catch (e) {}
return 'auto';
}
btnLight.addEventListener('click', () => { saveMode('light'); applyMode('light'); });
btnDark.addEventListener('click', () => { saveMode('dark'); applyMode('dark'); });
btnAuto.addEventListener('click', () => { saveMode('auto'); applyMode('auto'); });
applyMode(loadMode());
})();
// Warp buttons logic
const warpContainer = document.getElementById("warp-buttons-container");
const grades = ["K", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
grades.forEach(g => {
const btn = document.createElement("button");
btn.innerText = `Grade ${g}`;
btn.onclick = () => {
const target = document.getElementById(g === "K" ? "kindergarten" : `grade${g}`);
if (target) target.scrollIntoView({ behavior: "smooth" });
};
warpContainer.appendChild(btn);
});
// Search functionality
const searchInput = document.getElementById("searchInput");
searchInput.addEventListener("keyup", function() {
const filter = searchInput.value.toLowerCase();
const lessons = document.querySelectorAll(".lesson-card");
lessons.forEach(card => {
card.style.display = card.innerText.toLowerCase().includes(filter) ? "block" : "none";
});
});
</script>
</html>