diff --git a/client/i18n/locales/english/intro.json b/client/i18n/locales/english/intro.json index b49b47b4524..f146ecd91fe 100644 --- a/client/i18n/locales/english/intro.json +++ b/client/i18n/locales/english/intro.json @@ -3025,10 +3025,28 @@ "You will learn how to work with template literals, and the indexOf method." ] }, - "lecture-working-with-common-string-methods": { - "title": "Working with Common String Methods", + "lecture-working-with-string-character-methods": { + "title": "Working with String Character Methods", "intro": [ - "In these lectures, you will learn about the common string methods available in JavaScript. The string methods will let you do things like extracting a part of a string, changing the casing for a string, replacing a part of a string, trimming whitespace from a string, and much more." + "In this lecture you will learn about ASCII character encoding and how to use JavaScript's charCodeAt() and fromCharCode() methods to convert between characters and their numerical ASCII values." + ] + }, + "lecture-working-with-string-search-and-slice-methods": { + "title": "Working with String Search and Slice Methods", + "intro": [ + "In this lecture you will learn how to search for substrings using the includes() method and how to extract portions of strings using the slice() method." + ] + }, + "lecture-working-with-string-formatting-methods": { + "title": "Working with String Formatting Methods", + "intro": [ + "In this lecture you will learn how to format strings by changing their case using toUpperCase() and toLowerCase() methods, and how to remove whitespace using trim(), trimStart(), and trimEnd() methods." + ] + }, + "lecture-working-with-string-modification-methods": { + "title": "Working with String Modification Methods", + "intro": [ + "In this lecture you will learn how to modify strings by replacing parts of them using the replace() method and how to repeat strings multiple times using the repeat() method." ] }, "review-javascript-strings": { @@ -4852,9 +4870,7 @@ "daily-coding-challenge": { "title": "Daily Coding Challenge", "blocks": { - "daily-coding-challenge": { - "title": "Daily Coding Challenge" - } + "daily-coding-challenge": { "title": "Daily Coding Challenge" } } }, "misc-text": { diff --git a/client/src/pages/learn/full-stack-developer/lecture-working-with-string-character-methods/index.md b/client/src/pages/learn/full-stack-developer/lecture-working-with-string-character-methods/index.md new file mode 100644 index 00000000000..642c51ea575 --- /dev/null +++ b/client/src/pages/learn/full-stack-developer/lecture-working-with-string-character-methods/index.md @@ -0,0 +1,9 @@ +--- +title: Introduction to Working with String Character Methods +block: lecture-working-with-string-character-methods +superBlock: full-stack-developer +--- + +## Introduction to Working with String Character Methods + +In this lecture you will learn about ASCII character encoding and how to use JavaScript's `charCodeAt()` and `fromCharCode()` methods to convert between characters and their numerical ASCII values. diff --git a/client/src/pages/learn/full-stack-developer/lecture-working-with-string-formatting-methods/index.md b/client/src/pages/learn/full-stack-developer/lecture-working-with-string-formatting-methods/index.md new file mode 100644 index 00000000000..8b2dffe5dd4 --- /dev/null +++ b/client/src/pages/learn/full-stack-developer/lecture-working-with-string-formatting-methods/index.md @@ -0,0 +1,9 @@ +--- +title: Introduction to Working with String Formatting Methods +block: lecture-working-with-string-formatting-methods +superBlock: full-stack-developer +--- + +## Introduction to Working with String Formatting Methods + +In this lecture you will learn how to format strings by changing their case using `toUpperCase()` and `toLowerCase()` methods, and how to remove whitespace using `trim()`, `trimStart()`, and `trimEnd()` methods. diff --git a/client/src/pages/learn/full-stack-developer/lecture-working-with-string-modification-methods/index.md b/client/src/pages/learn/full-stack-developer/lecture-working-with-string-modification-methods/index.md new file mode 100644 index 00000000000..134342c4e36 --- /dev/null +++ b/client/src/pages/learn/full-stack-developer/lecture-working-with-string-modification-methods/index.md @@ -0,0 +1,9 @@ +--- +title: Introduction to Working with String Modification Methods +block: lecture-working-with-string-modification-methods +superBlock: full-stack-developer +--- + +## Introduction to Working with String Modification Methods + +In this lecture you will learn how to modify strings by replacing parts of them using the `replace()` method and how to repeat strings multiple times using the `repeat()` method. diff --git a/client/src/pages/learn/full-stack-developer/lecture-working-with-string-search-and-slice-methods/index.md b/client/src/pages/learn/full-stack-developer/lecture-working-with-string-search-and-slice-methods/index.md new file mode 100644 index 00000000000..7d7ff6e6a12 --- /dev/null +++ b/client/src/pages/learn/full-stack-developer/lecture-working-with-string-search-and-slice-methods/index.md @@ -0,0 +1,9 @@ +--- +title: Introduction to Working with String Search and Slice Methods +block: lecture-working-with-string-search-and-slice-methods +superBlock: full-stack-developer +--- + +## Introduction to Working with String Search and Slice Methods + +In this lecture you will learn how to search for substrings using the `includes()` method and how to extract portions of strings using the `slice()` method. diff --git a/curriculum/challenges/_meta/lecture-working-with-common-string-methods/meta.json b/curriculum/challenges/_meta/lecture-working-with-common-string-methods/meta.json deleted file mode 100644 index bddda563739..00000000000 --- a/curriculum/challenges/_meta/lecture-working-with-common-string-methods/meta.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "Working with Common String Methods", - "blockType": "lecture", - "blockLayout": "challenge-list", - "isUpcomingChange": false, - "dashedName": "lecture-working-with-common-string-methods", - "superBlock": "full-stack-developer", - "challengeOrder": [ - { - "id": "672d266034b5242126271995", - "title": "What Is ASCII, and How Does It Work with charCodeAt() and fromCharCode()?" - }, - { - "id": "67326c0d7bef01c539120766", - "title": "How Can You Test if a String Contains a Substring?" - }, - { - "id": "67326c15b3b2f0c5827927cc", - "title": "How Can You Extract a Substring from a String?" - }, - { - "id": "67326c1fdaf9c0c5ad1a2589", - "title": "How Can You Change the Casing for a String?" - }, - { - "id": "67326c29dcd98fc5ecc49779", - "title": "How Can You Replace Parts of a String with Another?" - }, - { - "id": "67326c3392068ec6184a0c95", - "title": "How Can You Repeat a String x Number of Times?" - }, - { - "id": "67326c3c3ab931c644cea05b", - "title": "How Can You Trim Whitespace from a String?" - } - ], - "helpCategory": "JavaScript" -} \ No newline at end of file diff --git a/curriculum/challenges/_meta/lecture-working-with-string-character-methods/meta.json b/curriculum/challenges/_meta/lecture-working-with-string-character-methods/meta.json new file mode 100644 index 00000000000..53492bbea0e --- /dev/null +++ b/curriculum/challenges/_meta/lecture-working-with-string-character-methods/meta.json @@ -0,0 +1,15 @@ +{ + "name": "Working with String Character Methods", + "blockType": "lecture", + "blockLayout": "challenge-list", + "isUpcomingChange": false, + "dashedName": "lecture-working-with-string-character-methods", + "superBlock": "full-stack-developer", + "challengeOrder": [ + { + "id": "672d266034b5242126271995", + "title": "What Is ASCII, and How Does It Work with charCodeAt() and fromCharCode()?" + } + ], + "helpCategory": "JavaScript" +} diff --git a/curriculum/challenges/_meta/lecture-working-with-string-formatting-methods/meta.json b/curriculum/challenges/_meta/lecture-working-with-string-formatting-methods/meta.json new file mode 100644 index 00000000000..c0898026e54 --- /dev/null +++ b/curriculum/challenges/_meta/lecture-working-with-string-formatting-methods/meta.json @@ -0,0 +1,19 @@ +{ + "name": "Working with String Formatting Methods", + "isUpcomingChange": false, + "dashedName": "lecture-working-with-string-formatting-methods", + "superBlock": "full-stack-developer", + "blockType": "lecture", + "blockLayout": "challenge-list", + "helpCategory": "JavaScript", + "challengeOrder": [ + { + "id": "67326c1fdaf9c0c5ad1a2589", + "title": "How Can You Change the Casing for a String?" + }, + { + "id": "67326c3c3ab931c644cea05b", + "title": "How Can You Trim Whitespace from a String?" + } + ] +} diff --git a/curriculum/challenges/_meta/lecture-working-with-string-modification-methods/meta.json b/curriculum/challenges/_meta/lecture-working-with-string-modification-methods/meta.json new file mode 100644 index 00000000000..750f2356118 --- /dev/null +++ b/curriculum/challenges/_meta/lecture-working-with-string-modification-methods/meta.json @@ -0,0 +1,19 @@ +{ + "name": "Working with String Modification Methods", + "blockType": "lecture", + "blockLayout": "challenge-list", + "isUpcomingChange": false, + "dashedName": "lecture-working-with-string-modification-methods", + "superBlock": "full-stack-developer", + "helpCategory": "JavaScript", + "challengeOrder": [ + { + "id": "67326c29dcd98fc5ecc49779", + "title": "How Can You Replace Parts of a String with Another?" + }, + { + "id": "67326c3392068ec6184a0c95", + "title": "How Can You Repeat a String x Number of Times?" + } + ] +} diff --git a/curriculum/challenges/_meta/lecture-working-with-string-search-and-slice-methods/meta.json b/curriculum/challenges/_meta/lecture-working-with-string-search-and-slice-methods/meta.json new file mode 100644 index 00000000000..3749031f529 --- /dev/null +++ b/curriculum/challenges/_meta/lecture-working-with-string-search-and-slice-methods/meta.json @@ -0,0 +1,19 @@ +{ + "name": "Working with String Search and Slice Methods", + "blockType": "lecture", + "blockLayout": "challenge-list", + "isUpcomingChange": false, + "dashedName": "lecture-working-with-string-search-and-slice-methods", + "superBlock": "full-stack-developer", + "helpCategory": "JavaScript", + "challengeOrder": [ + { + "id": "67326c0d7bef01c539120766", + "title": "How Can You Test if a String Contains a Substring?" + }, + { + "id": "67326c15b3b2f0c5827927cc", + "title": "How Can You Extract a Substring from a String?" + } + ] +} diff --git a/curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/672d266034b5242126271995.md b/curriculum/challenges/english/25-front-end-development/lecture-working-with-string-character-methods/672d266034b5242126271995.md similarity index 100% rename from curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/672d266034b5242126271995.md rename to curriculum/challenges/english/25-front-end-development/lecture-working-with-string-character-methods/672d266034b5242126271995.md diff --git a/curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c1fdaf9c0c5ad1a2589.md b/curriculum/challenges/english/25-front-end-development/lecture-working-with-string-formatting-methods/67326c1fdaf9c0c5ad1a2589.md similarity index 100% rename from curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c1fdaf9c0c5ad1a2589.md rename to curriculum/challenges/english/25-front-end-development/lecture-working-with-string-formatting-methods/67326c1fdaf9c0c5ad1a2589.md diff --git a/curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c3c3ab931c644cea05b.md b/curriculum/challenges/english/25-front-end-development/lecture-working-with-string-formatting-methods/67326c3c3ab931c644cea05b.md similarity index 100% rename from curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c3c3ab931c644cea05b.md rename to curriculum/challenges/english/25-front-end-development/lecture-working-with-string-formatting-methods/67326c3c3ab931c644cea05b.md diff --git a/curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c29dcd98fc5ecc49779.md b/curriculum/challenges/english/25-front-end-development/lecture-working-with-string-modification-methods/67326c29dcd98fc5ecc49779.md similarity index 100% rename from curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c29dcd98fc5ecc49779.md rename to curriculum/challenges/english/25-front-end-development/lecture-working-with-string-modification-methods/67326c29dcd98fc5ecc49779.md diff --git a/curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c3392068ec6184a0c95.md b/curriculum/challenges/english/25-front-end-development/lecture-working-with-string-modification-methods/67326c3392068ec6184a0c95.md similarity index 100% rename from curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c3392068ec6184a0c95.md rename to curriculum/challenges/english/25-front-end-development/lecture-working-with-string-modification-methods/67326c3392068ec6184a0c95.md diff --git a/curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c0d7bef01c539120766.md b/curriculum/challenges/english/25-front-end-development/lecture-working-with-string-search-and-slice-methods/67326c0d7bef01c539120766.md similarity index 100% rename from curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c0d7bef01c539120766.md rename to curriculum/challenges/english/25-front-end-development/lecture-working-with-string-search-and-slice-methods/67326c0d7bef01c539120766.md diff --git a/curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c15b3b2f0c5827927cc.md b/curriculum/challenges/english/25-front-end-development/lecture-working-with-string-search-and-slice-methods/67326c15b3b2f0c5827927cc.md similarity index 100% rename from curriculum/challenges/english/25-front-end-development/lecture-working-with-common-string-methods/67326c15b3b2f0c5827927cc.md rename to curriculum/challenges/english/25-front-end-development/lecture-working-with-string-search-and-slice-methods/67326c15b3b2f0c5827927cc.md diff --git a/curriculum/superblock-structure/full-stack.json b/curriculum/superblock-structure/full-stack.json index a4ade6bdc0f..8fb82d81094 100644 --- a/curriculum/superblock-structure/full-stack.json +++ b/curriculum/superblock-structure/full-stack.json @@ -576,7 +576,16 @@ "dashedName": "workshop-teacher-chatbot" }, { - "dashedName": "lecture-working-with-common-string-methods" + "dashedName": "lecture-working-with-string-character-methods" + }, + { + "dashedName": "lecture-working-with-string-search-and-slice-methods" + }, + { + "dashedName": "lecture-working-with-string-formatting-methods" + }, + { + "dashedName": "lecture-working-with-string-modification-methods" }, { "dashedName": "review-javascript-strings"