Skip to main content

New Commit: updated for format

Repository: Hestenb62/_legacy_backup

Author: Hesten Berger

Commit Message: updated for format

URL: https://github.com/Hestenb62/_legacy_backup/commit/b75a6567d8f5a75a29d3a491fe61728f47babcbc

Code Changes:

diff --git a/assets/data/standards-ccss-math.json b/assets/data/standards-ccss-math.json
index 84b0778..d397218 100644
--- a/assets/data/standards-ccss-math.json
+++ b/assets/data/standards-ccss-math.json
@@ -15,7 +15,10 @@
         "6th Grade",
         "7th Grade",
         "8th Grade",
-        "High School"
+        "9th Grade",
+        "10th Grade",
+        "11th Grade",
+        "12th Grade"
     ],
     "math": {
         "name": "Mathematics",
@@ -39,8 +42,60 @@
             "Kindergarten": {
                 "ccss": {
                     "title": "Kindergarten Math (CCSS)",
-                    "overview": "<p>Focus on representing and comparing whole numbers, initially with sets of objects, and describing shapes and space.</p>",
-                    "standards": "<div class=\"curr-standard-item\">\n    <h4 class=\"curr-standard-title\">Standards for Mathematical Practice (K.MP)</h4>\n    <p class=\"curr-standard-desc\"><strong>MP.1:</strong> Make sense of problems and persevere in solving them.</p>\n    <p class=\"curr-standard-desc\"><strong>MP.2:</strong> Reason abstractly and quantitatively.</p>\n    <p class=\"curr-standard-desc\"><strong>MP.3:</strong> Construct viable arguments and critique the reasoning of others.</p>\n    <p class=\"curr-standard-desc\"><strong>MP.4:</strong> Model with mathematics.</p>\n    <p class=\"curr-standard-desc\"><strong>MP.5:</strong> Use appropriate tools strategically.</p>\n    <p class=\"curr-standard-desc\"><strong>MP.6:</strong> Attend to precision.</p>\n    <p class=\"curr-standard-desc\"><strong>MP.7:</strong> Look for and make use of structure.</p>\n    <p class=\"curr-standard-desc\"><strong>MP.8:</strong> Look for and express regularity in repeated reasoning.</p>\n</div>\n<div class=\"curr-standard-item\">\n                       <h4 class=\"curr-standard-title\">Counting and Cardinality (K.CC)</h4>\n                            <p class=\"curr-standard-desc\"><strong>K.CC.A.1:</strong> Count to 100 by ones and by tens.</p>\n                           <p class=\"curr-standard-desc\"><strong>K.CC.A.2:</strong> Count forward beginning from a given number within the known sequence (instead of having to begin at 1).</p>\n                            <p class=\"curr-standard-desc\"><strong>K.CC.A.3:</strong> Write numbers from 0 to 20. Represent a number of objects with a written numeral 0-20 (with 0 representing a count of no objects).</p>\n                            <p class=\"curr-standard-desc\"><strong>K.CC.B.4:</strong> Understand the relationship between numbers and quantities; connect counting to cardinality.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.CC.B.4a:</strong> When counting objects, say the number names in the standard order, pairing each object with one and only one number name and each number name with one and only one object.</p>\n                             <p class=\"curr-standard-desc\"><strong>K.CC.B.4b:</strong> Understand that the last number name said tells the number of objects counted. The number of objects is the same regardless of their arrangement or the order in which they were counted.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.CC.B.4c:</strong> Understand that each successive number name refers to a quantity that is one larger.</p>\n                    <p class=\"curr-standard-desc\"><strong>K.CC.B.5:</strong> Count to answer \"how many?\" questions about as many as 20 things arranged in a line, a rectangular array, or a circle, or as many as 10 things in a scattered configuration; given a number from 1-20, count out that many objects.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.CC.C.6:</strong> Identify whether the number of objects in one group is greater than, less than, or equal to the number of objects in another group, e.g., by using matching and counting strategies.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.CC.C.7:</strong> Compare two numbers between 1 and 10 presented as written numerals.</p>\n                        </div>\n                        <div class=\"curr-standard-item\">\n                            <h4 class=\"curr-standard-title\">Operations and Algebraic Thinking (K.OA)</h4>\n                            <p class=\"curr-standard-desc\"><strong>K.OA.A.1:</strong> Represent addition and subtraction with objects, fingers, mental images, drawings, sounds (e.g., claps), acting out situations, verbal explanations, expressions, or equations.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.OA.A.2:</strong> Solve addition and subtraction word problems, and add and subtract within 10, e.g., by using objects or drawings to represent the problem.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.OA.A.3:</strong> Decompose numbers less than or equal to 10 into pairs in more than one way, e.g., by using objects or drawings, and record each decomposition by a drawing or equation (e.g., 5 = 2 + 3 and 5 = 4 + 1).</p>\n                            <p class=\"curr-standard-desc\"><strong>K.OA.A.4:</strong> For any number from 1 to 9, find the number that makes 10 when added to the given number, e.g., by using objects or drawings, and record the answer with a drawing or equation.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.OA.A.5:</strong> Fluently add and subtract within 5.</p>\n                        </div>\n                        <div class=\"curr-standard-item\">\n                            <h4 class=\"curr-standard-title\">Number and Operations in Base Ten (K.NBT)</h4>\n                            <p class=\"curr-standard-desc\"><strong>K.NBT.A.1:</strong> Compose and decompose numbers from 11 to 19 into ten ones and some further ones, e.g., by using objects or drawings, and record each composition or decomposition by a drawing or equation (such as 18 = 10 + 8); understand that these numbers are composed of ten ones and one, two, three, four, five, six, seven, eight, or nine ones.</p>\n                        </div>\n                        <div class=\"curr-standard-item\">\n                            <h4 class=\"curr-standard-title\">Measurement and Data (K.MD)</h4>\n                            <p class=\"curr-standard-desc\"><strong>K.MD.A.1:</strong> Describe measurable attributes of objects, such as length or weight. Describe several measurable attributes of a single object.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.MD.A.2:</strong> Directly compare two objects with a measurable attribute in common, to see which object has \"more of\"/\"less of\" the attribute, and describe the difference. For example, directly compare the heights of two children and describe one child as taller/shorter.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.MD.B.3:</strong> Classify objects into given categories; count the numbers of objects in each category and sort the categories by count.</p>\n                        </div>\n                        <div class=\"curr-standard-item\">\n                            <h4 class=\"curr-standard-title\">Geometry (K.G)</h4>\n                            <p class=\"curr-standard-desc\"><strong>K.G.A.1:</strong> Describe objects in the environment using names of shapes, and describe the relative positions of these objects using terms such as above, below, beside, in front of, behind, and next to.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.G.A.2:</strong> Correctly name shapes regardless of their orientations or overall size.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.G.A.3:</strong> Identify shapes as two-dimensional (lying in a plane, \"flat\") or three-dimensional (\"solid\").</p>\n                            <p class=\"curr-standard-desc\"><strong>K.G.B.4:</strong> Analyze and compare two- and three-dimensional shapes, in different sizes and orientations, using informal language to describe their similarities, differences, parts (e.g., number of sides and vertices/\"corners\") and other attributes (e.g., having sides of equal length).</p>\n                            <p class=\"curr-standard-desc\"><strong>K.G.B.5:</strong> Model shapes in the world by building shapes from components (e.g., sticks and clay balls) and drawing shapes.</p>\n                            <p class=\"curr-standard-desc\"><strong>K.G.B.6:</strong> Compose simple shapes to form larger shapes. For example, \"Can you join these two triangles with full sides touching to make a rectangle?\"</p>\n                        </div>",
+                    "overview": "<p>In Kindergarten, instructional time should focus on two critical areas: (1) representing, relating, and operating on whole numbers, initially with sets of objects; (2) describing shapes and space. More learning time in Kindergarten should be devoted to number than to other topics.</p>",
+                    "standards": [
+                        "<div class=\"curr-standard-item\">",
+                        "<h4 class=\"curr-standard-title\">Standards for Mathematical Practice (K.MP)</h4>",
+                        "<p class=\"curr-standard-desc\"><strong>MP.1:</strong> Make sense of problems and persevere in solving them.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>MP.2:</strong> Reason abstractly and quantitatively.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>MP.3:</strong> Construct viable arguments and critique the reasoning of others.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>MP.4:</strong> Model with mathematics.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>MP.5:</strong> Use appropriate tools strategically.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>MP.6:</strong> Attend to precision.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>MP.7:</strong> Look for and make use of structure.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>MP.8:</strong> Look for and express regularity in repeated reasoning.</p>",
+                        "</div>",
+                        "<div class=\"curr-standard-item\">",
+                        "<h4 class=\"curr-standard-title\">Counting and Cardinality (K.CC)</h4>",
+                        "<p class=\"curr-standard-desc\"><strong>K.CC.A.1:</strong> Count to 100 by ones and by tens.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.CC.A.2:</strong> Count forward beginning from a given number within the known sequence (instead of having to begin at 1).</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.CC.A.3:</strong> Write numbers from 0 to 20. Represent a number of objects with a written numeral 0-20 (with 0 representing a count of no objects).</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.CC.B.4:</strong> Understand the relationship between numbers and quantities; connect counting to cardinality.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.CC.B.4a:</strong> When counting objects, say the number names in the standard order, pairing each object with one and only one number name and each number name with one and only one object.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.CC.B.4b:</strong> Understand that the last number name said tells the number of objects counted. The number of objects is the same regardless of their arrangement or the order in which they were counted.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.CC.B.4c:</strong> Understand that each successive number name refers to a quantity that is one larger.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.CC.B.5:</strong> Count to answer \"how many?\" questions about as many as 20 things arranged in a line, a rectangular array, or a circle, or as many as 10 things in a scattered configuration; given a number from 1-20, count out that many objects.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.CC.C.6:</strong> Identify whether the number of objects in one group is greater than, less than, or equal to the number of objects in another group, e.g., by using matching and counting strategies.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.CC.C.7:</strong> Compare two numbers between 1 and 10 presented as written numerals.</p>",
+                        "</div>",
+                        "<div class=\"curr-standard-item\">",
+                        "<h4 class=\"curr-standard-title\">Operations and Algebraic Thinking (K.OA)</h4>",
+                        "<p class=\"curr-standard-desc\"><strong>K.OA.A.1:</strong> Represent addition and subtraction with objects, fingers, mental images, drawings, sounds (e.g., claps), acting out situations, verbal explanations, expressions, or equations.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.OA.A.2:</strong> Solve addition and subtraction word problems, and add and subtract within 10, e.g., by using objects or drawings to represent the problem.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.OA.A.3:</strong> Decompose numbers less than or equal to 10 into pairs in more than one way, e.g., by using objects or drawings, and record each decomposition by a drawing or equation (e.g., 5 = 2 + 3 and 5 = 4 + 1).</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.OA.A.4:</strong> For any number from 1 to 9, find the number that makes 10 when added to the given number, e.g., by using objects or drawings, and record the answer with a drawing or equation.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.OA.A.5:</strong> Fluently add and subtract within 5.</p>",
+                        "</div>",
+                        "<div class=\"curr-standard-item\">",
+                        "<h4 class=\"curr-standard-title\">Number and Operations in Base Ten (K.NBT)</h4>",
+                        "<p class=\"curr-standard-desc\"><strong>K.NBT.A.1:</strong> Compose and decompose numbers from 11 to 19 into ten ones and some further ones, e.g., by using objects or drawings, and record each composition or decomposition by a drawing or equation (such as 18 = 10 + 8); understand that these numbers are composed of ten ones and one, two, three, four, five, six, seven, eight, or nine ones.</p>",
+                        "</div>",
+                        "<div class=\"curr-standard-item\">",
+                        "<h4 class=\"curr-standard-title\">Measurement and Data (K.MD)</h4>",
+                        "<p class=\"curr-standard-desc\"><strong>K.MD.A.1:</strong> Describe measurable attributes of objects, such as length or weight. Describe several measurable attributes of a single object.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.MD.A.2:</strong> Directly compare two objects with a measurable attribute in common, to see which object has \"more of\"/\"less of\" the attribute, and describe the difference. For example, directly compare the heights of two children and describe one child as taller/shorter.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.MD.B.3:</strong> Classify objects into given categories; count the numbers of objects in each category and sort the categories by count.</p>",
+                        "</div>",
+                        "<div class=\"curr-standard-item\">",
+                        "<h4 class=\"curr-standard-title\">Geometry (K.G)</h4>",
+                        "<p class=\"curr-standard-desc\"><strong>K.G.A.1:</strong> Describe objects in the environment using names of shapes, and describe the relative positions of these objects using terms such as above, below, beside, in front of, behind, and next to.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.G.A.2:</strong> Correctly name shapes regardless of their orientations or overall size.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.G.A.3:</strong> Identify shapes as two-dimensional (lying in a plane, \"flat\") or three-dimensional (\"solid\").</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.G.B.4:</strong> Analyze and compare two- and three-dimensional shapes, in different sizes and orientations, using informal language to describe their similarities, differences, parts (e.g., number of sides and vertices/\"corners\") and other attributes (e.g., having sides of equal length).</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.G.B.5:</strong> Model shapes in the world by building shapes from components (e.g., sticks and clay balls) and drawing shapes.</p>",
+                        "<p class=\"curr-standard-desc\"><strong>K.G.B.6:</strong> Compose simple shapes to form larger shapes. For example, \"Can you join these two triangles with full sides touching to make a rectangle?\"</p>",
+                        "</div>"
+                    ],
                     "competencies": [
                         "Counting and Cardinality: Know number names and the count sequence.",
                         "Counting and Cardinality: Count to tell the number of objects.",
diff --git a/assets/js/standards-ccss-math-ela.js b/assets/js/standards-ccss-math-ela.js
index eabdb05..0516455 100644
--- a/assets/js/standards-ccss-math-ela.js
+++ b/assets/js/standards-ccss-math-ela.js
@@ -16,7 +16,11 @@
                 if (!target[key]) target[key] = {};
                 mergeCurriculumData(target[key], source[key]);
             } else {
-                target[key] = source[key];
+                if ((key === 'standards' || key === 'overview') && Array.isArray(source[key])) {
+                    target[key] = source[key].join('\n');
+                } else {
+                    target[key] = source[key];
+                }
             }
         }
     }
diff --git a/pages/standards.php b/pages/standards.php
index 3868726..33dcdc2 100644
--- a/pages/standards.php
+++ b/pages/standards.php
@@ -699,7 +699,8 @@
             
             // Format and Inject Standards with Copy Badges
             const standardsContainer = document.getElementById('view-standards');
-            standardsContainer.innerHTML = gradeData.standards || '<p>Standards data coming soon.</p>';
+            const rawStandards = Array.isArray(gradeData.standards) ? gradeData.standards.join('\n') : gradeData.standards;
+            standardsContainer.innerHTML = rawStandards || '<p>Standards data coming soon.</p>';
             
             // Process standard items: add copy badges, wrap in accordion cards, and assign domain tags
             const standardItems = standardsContainer.querySelectorAll('.curr-standard-item');
@@ -1002,7 +1003,7 @@
                         const resolved = (gVal.ccss || gVal.teks || gVal);
                         if (resolved && resolved.standards) {
                             const tempDiv = document.createElement('div');
-                            tempDiv.innerHTML = resolved.standards;
+                            tempDiv.innerHTML = Array.isArray(resolved.standards) ? resolved.standards.join('\n') : resolved.standards;
                             let count = 0;
                             tempDiv.querySelectorAll('.curr-standard-desc, .curr-standard-title').forEach(el => {
                                 if (el.innerText.toLowerCase().includes(query)) count++;

Popular Posts

New Commit: fixed theme issues

Repository: Hestenb62/_legacy_backup Author: Hesten Berger Commit Message: fixed theme issues URL: https://github.com/Hestenb62/_legacy_backup/commit/498741f8c633ecaf6e7e594bb0aed02c47e69b39 Code Changes: diff --git a/assessment/index.php b/assessment/index.php index 822865b..5e8b706 100644 --- a/assessment/index.php +++ b/assessment/index.php @@ -264,7 +264,7 @@ include '../src/header.php'; </div> <!-- Hint Modal (Inline) --> - <div id="hintText" class="hint-box" style="display: none;"> + <div id="hintText" class="hint-box hidden"> <strong>Hint:</strong> <span id="hint-content"></span> </div> </div> diff --git a/assets/css/pages/assessment.css b/assets/css/pages/assessment.css index b57e964..7eb0d74 100644 --- a/assets/c...

New Commit: added arura mesh

Repository: Hestenb62/_legacy_backup Author: Hesten Berger Commit Message: added arura mesh URL: https://github.com/Hestenb62/_legacy_backup/commit/d8a9c63f2df943f6e40651985fb1c273c5809dd4 Code Changes: diff --git a/assets/css/level-style.css b/assets/css/level-style.css index ed8b60b..49cddf7 100644 --- a/assets/css/level-style.css +++ b/assets/css/level-style.css @@ -100,6 +100,8 @@ h1, h2, h3, h4 { padding: 4rem 1rem 3rem 1rem; background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); border-bottom: 1px solid var(--glass-border); + position: relative; + overflow: hidden; } .hero-inner { @@ -111,6 +113,78 @@ h1, h2, h3, h4 { flex-wrap: wrap; gap: 1.5rem; animation: fadeUp 0.6s ease-out; + position: relative; + z-index: 2; +} + +/* Aurora Mesh Background for Level Hero */ +.level-aurora-bg { + position: absolute; + inset: 0; + overflow: hidden; + pointer-events: none; + z-index: 1; +} + +....

New Commit: Add JSON lesson migration and renderer scaffold Introduces a first-pass migration pipeline from PHP lesson files to structured JSON with `migrate_lessons.php`, and adds a generated `assets/data/lessons.json` catalog containing extracted metadata plus manual-migration placeholders for complex interactive content. Adds a new universal `src/lesson_renderer.php` to render lessons from JSON, along with initial component templates (`interactive-ladder` and `teacher-concepts`) for modular block rendering. Also includes `audit_report.html` documenting current security, accessibility, and architecture findings that motivated the move toward a template-driven lesson system.

Repository: Hestenb62/_legacy_backup Author: Hesten Berger Commit Message: Add JSON lesson migration and renderer scaffold Introduces a first-pass migration pipeline from PHP lesson files to structured JSON with , and adds a generated catalog containing extracted metadata plus manual-migration placeholders for complex interactive content. Adds a new universal to render lessons from JSON, along with initial component templates ( and ) for modular block rendering. Also includes documenting current security, accessibility, and architecture findings that motivated the move toward a template-driven lesson system. URL: https://github.com/Hestenb62/_legacy_backup/commit/f0c974b613ed65b7edcb712abb88bfae61ef0df5 Code Changes: diff --git a/assets/data/lessons.json b/assets/data/lessons.json new file mode 100644 index 0000000..0389666 --- /dev/null +++ b/assets/data/lessons.json @@ -0,0 +1,2835 @@ +{ + "lessons": { + "k-ela-m1-a-1": { + ...