From afcd9d863e3a0ac67fc3f759a5da6237b0818e48 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 30 Oct 2025 22:50:10 +0000 Subject: [PATCH 1/5] fixing broken diagrams --- 2-js-basics/1-data-types/README.md | 4 +- 2-js-basics/2-functions-methods/README.md | 4 +- 2-js-basics/4-arrays-loops/README.md | 8 ++-- 3-terrarium/1-intro-to-html/README.md | 39 ++++++++----------- .../1-about-browsers/README.md | 20 ++-------- 6-space-game/2-drawing-to-canvas/README.md | 4 +- 9-chat-project/README.md | 4 +- 7 files changed, 32 insertions(+), 51 deletions(-) diff --git a/2-js-basics/1-data-types/README.md b/2-js-basics/1-data-types/README.md index cc057a3a..68dcdc37 100644 --- a/2-js-basics/1-data-types/README.md +++ b/2-js-basics/1-data-types/README.md @@ -338,7 +338,7 @@ flowchart TD A --> D["Template Literals"] B --> B1["'Hello World'"] - C --> C1['"Hello World"'] + C --> C1["\"Hello World\""] D --> D1["`Hello \${name}`"] E["String Operations"] --> F["Concatenation"] @@ -509,7 +509,7 @@ graph TD C --> C1["42, 3.14, -5"] C --> C2["+ - * / %"] - D --> D1["'quotes' or \"quotes\""] + D --> D1["'quotes' or \\\"quotes\\\""] D --> D2["`template literals`"] E --> E1["true or false"] diff --git a/2-js-basics/2-functions-methods/README.md b/2-js-basics/2-functions-methods/README.md index e85f5568..dc38c3a8 100644 --- a/2-js-basics/2-functions-methods/README.md +++ b/2-js-basics/2-functions-methods/README.md @@ -40,8 +40,8 @@ mindmap root((JavaScript Functions)) Basic Concepts Declaration - function name() {} - const name = () => {} + function name() + const name = arrow function Calling functionName() Parentheses required diff --git a/2-js-basics/4-arrays-loops/README.md b/2-js-basics/4-arrays-loops/README.md index 55592bbf..d8355320 100644 --- a/2-js-basics/4-arrays-loops/README.md +++ b/2-js-basics/4-arrays-loops/README.md @@ -42,7 +42,7 @@ mindmap root((Data Processing)) Arrays Structure - [ ] square brackets + Square brackets syntax Zero-based indexing Dynamic sizing Operations @@ -50,9 +50,9 @@ mindmap shift/unshift indexOf/includes Types - Numbers [1,2,3] - Strings ["a","b"] - Mixed [1,"a",true] + Numbers array + Strings array + Mixed types Loops For Loops Counting iterations diff --git a/3-terrarium/1-intro-to-html/README.md b/3-terrarium/1-intro-to-html/README.md index 72c4d04b..eec31838 100644 --- a/3-terrarium/1-intro-to-html/README.md +++ b/3-terrarium/1-intro-to-html/README.md @@ -400,29 +400,22 @@ Insert this markup above the last `` tag (before the closing tag of the pa > 🤔 **Notice Something?**: Even though you added this markup, you don't see anything new on the page! This perfectly illustrates how HTML provides structure while CSS provides appearance. These `
` elements exist but have no visual styling yet – that's coming in the next lesson! ```mermaid -gitgraph - commit id: "HTML Document" - branch head - checkout head - commit id: "" - commit id: "<meta charset>" - commit id: "<meta viewport>" - checkout main - branch body - checkout body - commit id: "<h1>My Terrarium</h1>" - branch containers - checkout containers - commit id: "<div id='page'>" - commit id: "Left Container (7 plants)" - commit id: "Right Container (7 plants)" - commit id: "Terrarium Structure" - checkout body - merge containers - checkout main - merge head - merge body - commit id: "Complete HTML Page" +flowchart TD + A[HTML Document] --> B[Document Head] + A --> C[Document Body] + B --> D[Title Element] + B --> E[Meta Charset] + B --> F[Meta Viewport] + C --> G[Main Heading] + C --> H[Page Container] + H --> I[Left Container with 7 plants] + H --> J[Right Container with 7 plants] + H --> K[Terrarium Structure] + + style A fill:#e1f5fe + style B fill:#fff3e0 + style C fill:#e8f5e8 + style H fill:#f3e5f5 ``` ### 🔄 **Pedagogical Check-in** diff --git a/5-browser-extension/1-about-browsers/README.md b/5-browser-extension/1-about-browsers/README.md index 7537d1fe..3cb1825e 100644 --- a/5-browser-extension/1-about-browsers/README.md +++ b/5-browser-extension/1-about-browsers/README.md @@ -271,20 +271,6 @@ Before beginning development, let's gather the required resources and dependenci Understanding the project structure helps organize development work efficiently. Like how the Library of Alexandria was organized for easy knowledge retrieval, a well-structured codebase makes development more efficient: -```mermaid -fileStructure - project-root - dist - manifest.json - index.html - background.js - main.js - src - index.js - package.json - webpack.config.js -``` - ``` project-root/ ├── dist/ # Built extension files @@ -292,8 +278,10 @@ project-root/ │ ├── index.html # User interface markup │ ├── background.js # Background script functionality │ └── main.js # Compiled JavaScript bundle -└── src/ # Source development files - └── index.js # Your main JavaScript code +├── src/ # Source development files +│ └── index.js # Your main JavaScript code +├── package.json # Project dependencies and scripts +└── webpack.config.js # Build configuration ``` **Breaking down what each file accomplishes:** diff --git a/6-space-game/2-drawing-to-canvas/README.md b/6-space-game/2-drawing-to-canvas/README.md index 896b14ec..3e2b050e 100644 --- a/6-space-game/2-drawing-to-canvas/README.md +++ b/6-space-game/2-drawing-to-canvas/README.md @@ -85,8 +85,8 @@ The canvas uses Cartesian coordinates with an x-axis (horizontal) and y-axis (ve ```mermaid quadrantChart title Canvas Coordinate System - x-axis Left --> Right (X increases) - y-axis Top --> Bottom (Y increases) + x-axis Left --> Right + y-axis Top --> Bottom quadrant-1 Quadrant 1 quadrant-2 Quadrant 2 quadrant-3 Quadrant 3 diff --git a/9-chat-project/README.md b/9-chat-project/README.md index 8cfd4b6e..b2944547 100644 --- a/9-chat-project/README.md +++ b/9-chat-project/README.md @@ -378,8 +378,8 @@ quadrantChart Documentation Bot: [0.2, 0.3] Customer Service: [0.4, 0.4] General Assistant: [0.7, 0.5] - Creative Writer: [1.1, 0.9] - Brainstorming Tool: [1.3, 0.8] + Creative Writer: [0.9, 0.9] + Brainstorming Tool: [0.8, 0.8] ``` **Understanding why these parameters matter**: Different applications need different types of responses. A customer service bot should be consistent and factual (low temperature), while a creative writing assistant should be imaginative and varied (high temperature). Understanding these parameters gives you control over your AI's personality and response style. From fa8fd42607f87da75c7fe2966097f8ad2d3cd963 Mon Sep 17 00:00:00 2001 From: chris <noringc@gmail.com> Date: Thu, 30 Oct 2025 22:54:03 +0000 Subject: [PATCH 2/5] fix --- 2-js-basics/2-functions-methods/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-js-basics/2-functions-methods/README.md b/2-js-basics/2-functions-methods/README.md index dc38c3a8..751ba50e 100644 --- a/2-js-basics/2-functions-methods/README.md +++ b/2-js-basics/2-functions-methods/README.md @@ -41,7 +41,7 @@ mindmap Basic Concepts Declaration function name() - const name = arrow function + const name equals arrow function Calling functionName() Parentheses required From 0440716d90ac55e2b9269a0ff5707e1fb6226aad Mon Sep 17 00:00:00 2001 From: chris <noringc@gmail.com> Date: Thu, 30 Oct 2025 22:56:33 +0000 Subject: [PATCH 3/5] fix --- 2-js-basics/2-functions-methods/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/2-js-basics/2-functions-methods/README.md b/2-js-basics/2-functions-methods/README.md index 751ba50e..0efc923b 100644 --- a/2-js-basics/2-functions-methods/README.md +++ b/2-js-basics/2-functions-methods/README.md @@ -40,14 +40,14 @@ mindmap root((JavaScript Functions)) Basic Concepts Declaration - function name() - const name equals arrow function + Traditional syntax + Arrow function syntax Calling - functionName() + Using parentheses Parentheses required Parameters Input Values - function(param1, param2) + Multiple parameters Default values Arguments Values passed in From 1dc558636676b3dcbdad7b2be2a0d51fd2e24741 Mon Sep 17 00:00:00 2001 From: chris <noringc@gmail.com> Date: Thu, 30 Oct 2025 23:02:42 +0000 Subject: [PATCH 4/5] fix --- 6-space-game/2-drawing-to-canvas/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-space-game/2-drawing-to-canvas/README.md b/6-space-game/2-drawing-to-canvas/README.md index 3e2b050e..89e87c69 100644 --- a/6-space-game/2-drawing-to-canvas/README.md +++ b/6-space-game/2-drawing-to-canvas/README.md @@ -92,7 +92,7 @@ quadrantChart quadrant-3 Quadrant 3 quadrant-4 Quadrant 4 - Origin (0,0): [0.1, 0.1] + Origin Point: [0.1, 0.1] Hero Center: [0.5, 0.8] Enemy Formation: [0.3, 0.2] Power-up: [0.7, 0.6] From d6f244fed8974880e361cb528f75ebdd2799d0f9 Mon Sep 17 00:00:00 2001 From: chris <noringc@gmail.com> Date: Thu, 30 Oct 2025 23:07:01 +0000 Subject: [PATCH 5/5] fix --- 9-chat-project/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/9-chat-project/README.md b/9-chat-project/README.md index b2944547..9dc47a40 100644 --- a/9-chat-project/README.md +++ b/9-chat-project/README.md @@ -220,7 +220,6 @@ client = OpenAI( api_key=os.environ["GITHUB_TOKEN"], ) -```python response = client.chat.completions.create( messages=[ {