From 3e5031d002d046259f17273515195589456f8ea7 Mon Sep 17 00:00:00 2001 From: Jessica Wilkins <67210629+jdwilkin4@users.noreply.github.com> Date: Fri, 12 Sep 2025 02:44:44 -0700 Subject: [PATCH] refactor(curriculum): breaking down intro to JS lecture block into smaller blocks (#62136) --- client/i18n/locales/english/intro.json | 18 +++++++++++---- .../lecture-introduction-to-strings/index.md | 9 ++++++++ .../index.md | 9 ++++++++ .../672d49a5cf43945ee09e5fba.md | 0 .../672d49b2fb76df5f1d6117af.md | 0 .../672d49c4e899345f5b33c24c.md | 0 .../672d49d93b54b85faa4dbad7.md | 0 .../672d49e65a1c855fe7bb3fdb.md | 0 .../lecture-introduction-to-javascript.json | 20 ----------------- .../lecture-introduction-to-strings.json | 22 +++++++++++++++++++ .../lecture-understanding-code-clarity.json | 18 +++++++++++++++ .../superblocks/full-stack-developer.json | 2 ++ 12 files changed, 74 insertions(+), 24 deletions(-) create mode 100644 client/src/pages/learn/full-stack-developer/lecture-introduction-to-strings/index.md create mode 100644 client/src/pages/learn/full-stack-developer/lecture-understanding-code-clarity/index.md rename curriculum/challenges/english/blocks/{lecture-introduction-to-javascript => lecture-introduction-to-strings}/672d49a5cf43945ee09e5fba.md (100%) rename curriculum/challenges/english/blocks/{lecture-introduction-to-javascript => lecture-introduction-to-strings}/672d49b2fb76df5f1d6117af.md (100%) rename curriculum/challenges/english/blocks/{lecture-introduction-to-javascript => lecture-introduction-to-strings}/672d49c4e899345f5b33c24c.md (100%) rename curriculum/challenges/english/blocks/{lecture-introduction-to-javascript => lecture-understanding-code-clarity}/672d49d93b54b85faa4dbad7.md (100%) rename curriculum/challenges/english/blocks/{lecture-introduction-to-javascript => lecture-understanding-code-clarity}/672d49e65a1c855fe7bb3fdb.md (100%) create mode 100644 curriculum/structure/blocks/lecture-introduction-to-strings.json create mode 100644 curriculum/structure/blocks/lecture-understanding-code-clarity.json diff --git a/client/i18n/locales/english/intro.json b/client/i18n/locales/english/intro.json index f43a7115bc7..442d505e619 100644 --- a/client/i18n/locales/english/intro.json +++ b/client/i18n/locales/english/intro.json @@ -2971,7 +2971,19 @@ "lecture-introduction-to-javascript": { "title": "Introduction to JavaScript", "intro": [ - "In these lectures, you will learn the fundamentals of JavaScript. Topics covered include, but are not limited to, variables, data types, how JavaScript interacts with HTML and CSS, strings, and much more." + "In these lectures, you will learn the fundamentals of JavaScript. Topics covered include, but are not limited to, variables, data types, how JavaScript interacts with HTML and CSS, and much more." + ] + }, + "lecture-introduction-to-strings": { + "title": "Introduction to Strings", + "intro": [ + "In these lectures, you will learn how to work with strings and string concatenation." + ] + }, + "lecture-understanding-code-clarity": { + "title": "Understanding Code Clarity", + "intro": [ + "In these lectures, you will learn about comments in JavaScript and the role of semicolons in programming." ] }, "workshop-greeting-bot": { @@ -4978,9 +4990,7 @@ "part-12": "Containers", "part-13": "Using Relational Databases" }, - "modules": { - "basic-html": "Basic HTML" - }, + "modules": { "basic-html": "Basic HTML" }, "module-intros": { "basic-html": { "title": "Basic HTML", diff --git a/client/src/pages/learn/full-stack-developer/lecture-introduction-to-strings/index.md b/client/src/pages/learn/full-stack-developer/lecture-introduction-to-strings/index.md new file mode 100644 index 00000000000..deb98c1dba5 --- /dev/null +++ b/client/src/pages/learn/full-stack-developer/lecture-introduction-to-strings/index.md @@ -0,0 +1,9 @@ +--- +title: Introduction to the Introduction to Strings +block: lecture-introduction-to-strings +superBlock: full-stack-developer +--- + +## Introduction to the Introduction to Strings + +In these lectures, you will learn how to work with strings and string concatenation. diff --git a/client/src/pages/learn/full-stack-developer/lecture-understanding-code-clarity/index.md b/client/src/pages/learn/full-stack-developer/lecture-understanding-code-clarity/index.md new file mode 100644 index 00000000000..7eb4bd26f74 --- /dev/null +++ b/client/src/pages/learn/full-stack-developer/lecture-understanding-code-clarity/index.md @@ -0,0 +1,9 @@ +--- +title: Introduction to the Understanding Code Clarity +block: lecture-understanding-code-clarity +superBlock: full-stack-developer +--- + +## Introduction to the Understanding Code Clarity + +In these lectures, you will learn about comments in JavaScript and the role of semicolons in programming. diff --git a/curriculum/challenges/english/blocks/lecture-introduction-to-javascript/672d49a5cf43945ee09e5fba.md b/curriculum/challenges/english/blocks/lecture-introduction-to-strings/672d49a5cf43945ee09e5fba.md similarity index 100% rename from curriculum/challenges/english/blocks/lecture-introduction-to-javascript/672d49a5cf43945ee09e5fba.md rename to curriculum/challenges/english/blocks/lecture-introduction-to-strings/672d49a5cf43945ee09e5fba.md diff --git a/curriculum/challenges/english/blocks/lecture-introduction-to-javascript/672d49b2fb76df5f1d6117af.md b/curriculum/challenges/english/blocks/lecture-introduction-to-strings/672d49b2fb76df5f1d6117af.md similarity index 100% rename from curriculum/challenges/english/blocks/lecture-introduction-to-javascript/672d49b2fb76df5f1d6117af.md rename to curriculum/challenges/english/blocks/lecture-introduction-to-strings/672d49b2fb76df5f1d6117af.md diff --git a/curriculum/challenges/english/blocks/lecture-introduction-to-javascript/672d49c4e899345f5b33c24c.md b/curriculum/challenges/english/blocks/lecture-introduction-to-strings/672d49c4e899345f5b33c24c.md similarity index 100% rename from curriculum/challenges/english/blocks/lecture-introduction-to-javascript/672d49c4e899345f5b33c24c.md rename to curriculum/challenges/english/blocks/lecture-introduction-to-strings/672d49c4e899345f5b33c24c.md diff --git a/curriculum/challenges/english/blocks/lecture-introduction-to-javascript/672d49d93b54b85faa4dbad7.md b/curriculum/challenges/english/blocks/lecture-understanding-code-clarity/672d49d93b54b85faa4dbad7.md similarity index 100% rename from curriculum/challenges/english/blocks/lecture-introduction-to-javascript/672d49d93b54b85faa4dbad7.md rename to curriculum/challenges/english/blocks/lecture-understanding-code-clarity/672d49d93b54b85faa4dbad7.md diff --git a/curriculum/challenges/english/blocks/lecture-introduction-to-javascript/672d49e65a1c855fe7bb3fdb.md b/curriculum/challenges/english/blocks/lecture-understanding-code-clarity/672d49e65a1c855fe7bb3fdb.md similarity index 100% rename from curriculum/challenges/english/blocks/lecture-introduction-to-javascript/672d49e65a1c855fe7bb3fdb.md rename to curriculum/challenges/english/blocks/lecture-understanding-code-clarity/672d49e65a1c855fe7bb3fdb.md diff --git a/curriculum/structure/blocks/lecture-introduction-to-javascript.json b/curriculum/structure/blocks/lecture-introduction-to-javascript.json index 76fa167075c..0109c4f4a10 100644 --- a/curriculum/structure/blocks/lecture-introduction-to-javascript.json +++ b/curriculum/structure/blocks/lecture-introduction-to-javascript.json @@ -20,26 +20,6 @@ { "id": "672d49959621885e9d3e672c", "title": "How Do let and const Work Differently When It Comes to Variable Declaration, Assignment, and Reassignment?" - }, - { - "id": "672d49a5cf43945ee09e5fba", - "title": "What Is a String in JavaScript, and What Is String Immutability?" - }, - { - "id": "672d49b2fb76df5f1d6117af", - "title": "What Is String Concatenation, and How Can You Concatenate Strings with Variables?" - }, - { - "id": "672d49c4e899345f5b33c24c", - "title": "What Is console.log Used For, and How Does It Work?" - }, - { - "id": "672d49d93b54b85faa4dbad7", - "title": "What Is the Role of Semicolons in JavaScript, and Programming in General?" - }, - { - "id": "672d49e65a1c855fe7bb3fdb", - "title": "What Are Comments in JavaScript, and When Should You Use Them?" } ], "helpCategory": "JavaScript" diff --git a/curriculum/structure/blocks/lecture-introduction-to-strings.json b/curriculum/structure/blocks/lecture-introduction-to-strings.json new file mode 100644 index 00000000000..a46554980d2 --- /dev/null +++ b/curriculum/structure/blocks/lecture-introduction-to-strings.json @@ -0,0 +1,22 @@ +{ + "name": "Introduction to Strings", + "isUpcomingChange": false, + "blockType": "lecture", + "blockLayout": "challenge-list", + "dashedName": "lecture-introduction-to-strings", + "helpCategory": "JavaScript", + "challengeOrder": [ + { + "id": "672d49a5cf43945ee09e5fba", + "title": "What Is a String in JavaScript, and What Is String Immutability?" + }, + { + "id": "672d49b2fb76df5f1d6117af", + "title": "What Is String Concatenation, and How Can You Concatenate Strings with Variables?" + }, + { + "id": "672d49c4e899345f5b33c24c", + "title": "What Is console.log Used For, and How Does It Work?" + } + ] +} diff --git a/curriculum/structure/blocks/lecture-understanding-code-clarity.json b/curriculum/structure/blocks/lecture-understanding-code-clarity.json new file mode 100644 index 00000000000..4aa7d4b83f3 --- /dev/null +++ b/curriculum/structure/blocks/lecture-understanding-code-clarity.json @@ -0,0 +1,18 @@ +{ + "name": "Understanding Code Clarity", + "blockType": "lecture", + "blockLayout": "challenge-list", + "isUpcomingChange": false, + "dashedName": "lecture-understanding-code-clarity", + "helpCategory": "JavaScript", + "challengeOrder": [ + { + "id": "672d49d93b54b85faa4dbad7", + "title": "What Is the Role of Semicolons in JavaScript, and Programming in General?" + }, + { + "id": "672d49e65a1c855fe7bb3fdb", + "title": "What Are Comments in JavaScript, and When Should You Use Them?" + } + ] +} diff --git a/curriculum/structure/superblocks/full-stack-developer.json b/curriculum/structure/superblocks/full-stack-developer.json index 8bf497f4a02..f7468872935 100644 --- a/curriculum/structure/superblocks/full-stack-developer.json +++ b/curriculum/structure/superblocks/full-stack-developer.json @@ -276,6 +276,8 @@ "dashedName": "javascript-variables-and-strings", "blocks": [ "lecture-introduction-to-javascript", + "lecture-introduction-to-strings", + "lecture-understanding-code-clarity", "workshop-greeting-bot", "lab-javascript-trivia-bot", "lab-sentence-maker",