diff --git a/client/i18n/locales/english/intro.json b/client/i18n/locales/english/intro.json index 0fbdd1de0b6c38..8c4ee936e5b18e 100644 --- a/client/i18n/locales/english/intro.json +++ b/client/i18n/locales/english/intro.json @@ -297,29 +297,8 @@ "Complete these 5 JavaScript projects to earn the JavaScript Algorithms and Data Structures certification." ] }, - "module-3": { - "title": "Module-3 : Introduction to Basic Javascript ", - "intro": [ - "This is it — time to put your new JavaScript skills to work. These projects are similar to the algorithm scripting challenges you've done before – just much more difficult.", - "This is it — time to put your new JavaScript skills to work. These projects are similar to the algorithm scripting challenges you've done before – just much more difficult." - ] - }, - "module-ai-4": { - "title": "Module-ai-4", - "intro": [ - "This is it — time to put your new JavaScript skills to work. These projects are similar to the algorithm scripting challenges you've done before – just much more difficult.", - "This is it — time to put your new JavaScript skills to work. These projects are similar to the algorithm scripting challenges you've done before – just much more difficult." - ] - }, - "module4": { - "title": "Module4", - "intro": [ - "This is it — time to put your new JavaScript skills to work. These projects are similar to the algorithm scripting challenges you've done before – just much more difficult.", - "This is it — time to put your new JavaScript skills to work. These projects are similar to the algorithm scripting challenges you've done before – just much more difficult." - ] - }, - "ng-test": { - "title": "Ng Test", + "javascript-with-ai": { + "title": "Javascript with AI", "intro": [ "This is it — time to put your new JavaScript skills to work. These projects are similar to the algorithm scripting challenges you've done before – just much more difficult.", "This is it — time to put your new JavaScript skills to work. These projects are similar to the algorithm scripting challenges you've done before – just much more difficult." diff --git a/client/src/pages/learn/javascript-algorithms-and-data-structures/module-ai-4/index.md b/client/src/pages/learn/javascript-algorithms-and-data-structures/javascript-with-ai/index.md similarity index 50% rename from client/src/pages/learn/javascript-algorithms-and-data-structures/module-ai-4/index.md rename to client/src/pages/learn/javascript-algorithms-and-data-structures/javascript-with-ai/index.md index 56aa64a9ac35c0..e7ce2a05c5e71b 100644 --- a/client/src/pages/learn/javascript-algorithms-and-data-structures/module-ai-4/index.md +++ b/client/src/pages/learn/javascript-algorithms-and-data-structures/javascript-with-ai/index.md @@ -1,9 +1,9 @@ --- -title: Introduction to the module-ai-4 -block: module-ai-4 +title: Introduction to the javascript-with-ai +block: javascript-with-ai superBlock: javascript-algorithms-and-data-structures --- -## Introduction to the module-ai-4 +## Introduction to the javascript-with-ai This is a test for the new project-based curriculum. diff --git a/client/src/pages/learn/javascript-algorithms-and-data-structures/module-3/index.md b/client/src/pages/learn/javascript-algorithms-and-data-structures/module-3/index.md deleted file mode 100644 index 1515a3181c49bf..00000000000000 --- a/client/src/pages/learn/javascript-algorithms-and-data-structures/module-3/index.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Introduction to Basic Javascript -block: module-3 -superBlock: javascript-algorithms-and-data-structures -isBeta: true ---- - -## Introduction to the Module-3 : Introduction to Basic Javascript - -This is a test for the new project-based curriculum. -Here You will Learn All About JavaScript. diff --git a/client/src/pages/learn/javascript-algorithms-and-data-structures/module4/index.md b/client/src/pages/learn/javascript-algorithms-and-data-structures/module4/index.md deleted file mode 100644 index d1a8f7e1d2071f..00000000000000 --- a/client/src/pages/learn/javascript-algorithms-and-data-structures/module4/index.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Introduction to the module4 -block: module4 -superBlock: javascript-algorithms-and-data-structures ---- - -## Introduction to the module4 - -This is a test for the new project-based curriculum. diff --git a/client/src/pages/learn/javascript-algorithms-and-data-structures/ng-test/index.md b/client/src/pages/learn/javascript-algorithms-and-data-structures/ng-test/index.md deleted file mode 100644 index 8d4165babb4656..00000000000000 --- a/client/src/pages/learn/javascript-algorithms-and-data-structures/ng-test/index.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Introduction to the ng test -block: ng-test -superBlock: javascript-algorithms-and-data-structures ---- - -## Introduction to the ng test - -This is a test for the new project-based curriculum. diff --git a/curriculum/challenges/_meta/basic-javascript/meta.json b/curriculum/challenges/_meta/basic-javascript/meta.json index 46567e79dfe24c..dbc125265123bc 100644 --- a/curriculum/challenges/_meta/basic-javascript/meta.json +++ b/curriculum/challenges/_meta/basic-javascript/meta.json @@ -74,6 +74,10 @@ "id": "66352b2418c108072d0a062e", "title": "From Flowcharts to JavaScript" }, + { + "id": "672dc6f4f053e1c7257775fd", + "title": "Comment Your JavaScript Code" + }, { "id": "661bc7a2b575475da9a67513", "title": "Variable Declaration" @@ -435,12 +439,8 @@ "title": "Print Pattern from an Array" }, { - "id": "671ccdd08c54ac7f2cfc9f18", - "title": "Storing values with the Assignment Operator" - }, - { - "id": "671cce54b4f158821ef77b2c", - "title": "Declare JavaScript Variables" + "id": "672dc376fe0cf0bee653bbfb", + "title": "Reflection" } ] } \ No newline at end of file diff --git a/curriculum/challenges/_meta/javascript-with-ai/meta.json b/curriculum/challenges/_meta/javascript-with-ai/meta.json new file mode 100644 index 00000000000000..9b0773d228b0e0 --- /dev/null +++ b/curriculum/challenges/_meta/javascript-with-ai/meta.json @@ -0,0 +1,24 @@ +{ + "name": "Javascript with AI", + "isUpcomingChange": true, + "usesMultifileEditor": false, + "hasEditableBoundaries": false, + "dashedName": "javascript-with-ai", + "order": 42, + "superBlock": "javascript-algorithms-and-data-structures", + "challengeOrder": [ + { + "id": "66f2988e5ce47a89f2c3c012", + "title": "Deepen Insight into Variables" + }, + { + "id": "66ff9497a20c5b37f678bf8d", + "title": "Advance Understanding of Arrays" + }, + { + "id": "66ff96f751c97b3cd7e7a44b", + "title": "Advanced Exploration of Loop Structures" + } + ], + "helpCategory": "JavaScript" +} \ No newline at end of file diff --git a/curriculum/challenges/_meta/module-3/meta.json b/curriculum/challenges/_meta/module-3/meta.json deleted file mode 100644 index fdee0acb0855ea..00000000000000 --- a/curriculum/challenges/_meta/module-3/meta.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "Module-3 : Introduction to Basic Javascript ", - "isUpcomingChange": true, - "usesMultifileEditor": true, - "hasEditableBoundaries": true, - "dashedName": "module-3", - "order": 5, - "superBlock": "javascript-algorithms-and-data-structures", - "challengeOrder": [ - { - "id": "65f3f6213293b31d7df443e5", - "title": "Step 1" - }, - { - "id": "65f411ef1540c01e03d41b09", - "title": "Step 2" - }, - { - "id": "65f416ff62ed3524affa6c2c", - "title": "Step 3" - }, - { - "id": "65f4128330131d20c7373c2e", - "title": "Step 4" - }, - { - "id": "65f413125d6338218918820f", - "title": "Step 5" - }, - { - "id": "65f4132a76991621af4b0e4b", - "title": "Step 6" - }, - { - "id": "65f4134acd811521d5dd1094", - "title": "Step 7" - }, - { - "id": "65f4136f9d2a942229aa018e", - "title": "Step 8" - }, - { - "id": "65f413c4f3b87d224e8b856e", - "title": "Step 9" - }, - { - "id": "65f413ee386282227bc38a5e", - "title": "Step 10" - }, - { - "id": "65f4144757efed229f90c970", - "title": "Step 11" - } - ], - "helpCategory": "JavaScript" -} \ No newline at end of file diff --git a/curriculum/challenges/_meta/module-ai-4/meta.json b/curriculum/challenges/_meta/module-ai-4/meta.json deleted file mode 100644 index 0b7c2ba44a30d7..00000000000000 --- a/curriculum/challenges/_meta/module-ai-4/meta.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "module-ai-4", - "isUpcomingChange": true, - "usesMultifileEditor": true, - "hasEditableBoundaries": true, - "dashedName": "module-ai-4", - "order": 42, - "superBlock": "javascript-algorithms-and-data-structures", - "challengeOrder": [{ "id": "66e3fd3fdd70614f1d6401c7", "title": "Step 1" }], - "helpCategory": "JavaScript" -} diff --git a/curriculum/challenges/_meta/module4/meta.json b/curriculum/challenges/_meta/module4/meta.json deleted file mode 100644 index b6358eb1d7580d..00000000000000 --- a/curriculum/challenges/_meta/module4/meta.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "module4", - "isUpcomingChange": true, - "usesMultifileEditor": true, - "hasEditableBoundaries": true, - "dashedName": "module4", - "order": 42, - "superBlock": "javascript-algorithms-and-data-structures", - "challengeOrder": [ - { - "id": "66e3fe547e3cd15eec044767", - "title": "Step 1" - }, - { - "id": "66e424792c8cc80e984ac365", - "title": "demo1" - } - ], - "helpCategory": "JavaScript" -} \ No newline at end of file diff --git a/curriculum/challenges/_meta/ng-test/meta.json b/curriculum/challenges/_meta/ng-test/meta.json deleted file mode 100644 index 736bf24458c4b1..00000000000000 --- a/curriculum/challenges/_meta/ng-test/meta.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "ng test", - "isUpcomingChange": true, - "usesMultifileEditor": true, - "hasEditableBoundaries": true, - "dashedName": "ng-test", - "order": 1, - "superBlock": "javascript-algorithms-and-data-structures", - "challengeOrder": [{ "id": "66e42777f316992855411a74", "title": "Step 1" }], - "helpCategory": "English" -} diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/comment-your-javascript-code.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/comment-your-javascript-code.md new file mode 100644 index 00000000000000..d9129a40d8268e --- /dev/null +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/comment-your-javascript-code.md @@ -0,0 +1,81 @@ +--- +id: 672dc6f4f053e1c7257775fd +title: Comment Your JavaScript Code +challengeType: 1 +dashedName: comment-your-javascript-code +--- + +# --description-- + +Comments are lines of code that JavaScript will intentionally ignore. Comments are a great way to leave notes to yourself and to other people who will later need to figure out what that code does. + +There are two ways to write comments in JavaScript: + +Using `//` will tell JavaScript to ignore the remainder of the text on the current line. This is an in-line comment: + +```js +// This is an in-line comment. +``` + +You can make a multi-line comment beginning with `/*` and ending with `*/`. This is a multi-line comment: + +```js +/* This is a +multi-line comment */ +``` + +**NOTE:** As you write code, you should regularly add comments to clarify the function of parts of your code. Good commenting can help communicate the intent of your code—both for others *and* for your future self. + +

Hinglish

+Comments yaane ki code ki lines jo JavaScript ko jaanboojhkar ignore karni hai. Comments khud ke liye aur dusre logon ke liye notes chhodne ka ek achha tareeka hai jo baad mein uss code ka kya kaam hai woh samajhne ke liye upyogi hota hai. + +JavaScript mein comments likhne ke do tareeke hote hain: + +`//` ka istemal karke aap JavaScript ko current line par baki text ko ignore karne ke liye keh sakte hain. Ye ek in-line comment hai: + +```js +// Ye ek in-line comment hai. +``` + +Aap `/*` se shuru karke aur `*/` se samapt karke multi-line comment bana sakte hain. Ye ek multi-line comment hai: + +```js +/* Ye ek +multi-line comment hai */ +``` + +**NOTE:** Jab aap code likhte hain, aapko apne code ke hisson ke function ko spasht karne ke liye regular roop se comments add karte rahna chahiye. Achhi commenting aapke code ke maksad ko samjhaane mein madad kar sakti hai—dusron ke liye *aur* aapke liye bhi. + +# --instructions-- + +Try creating one of each type of comment. + +# --hints-- + +You should create a `//` style comment that contains at least five letters. + +```js +assert(code.match(/(\/\/)...../g)); +``` + +You should create a `/* */` style comment that contains at least five letters. + +```js +assert(code.match(/(\/\*)([^\/]{5,})(?=\*\/)/gm)); +``` + +# --seed-- + +## --seed-contents-- + +```js + +``` + +# --solutions-- + +```js +// Fake Comment +/* Another Comment */ +``` + diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/reflection.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/reflection.md new file mode 100644 index 00000000000000..1b126fcfb284bd --- /dev/null +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/reflection.md @@ -0,0 +1,30 @@ +--- +id: 672dc376fe0cf0bee653bbfb +title: Reflection +challengeType: 19 +dashedName: reflection +--- + +# --description-- + +This question will help you reflect youre learning of Module 3 + +# --question-- + +## --text-- + +Have you completed all the challenges? + +Click this link before completing the challenge + +## --answers-- + +Yes + +--- + +No + +## --video-solution-- + +1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/javascript-with-ai/advance-understanding-of-arrays.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/javascript-with-ai/advance-understanding-of-arrays.md new file mode 100644 index 00000000000000..4fc64acca2b7eb --- /dev/null +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/javascript-with-ai/advance-understanding-of-arrays.md @@ -0,0 +1,47 @@ +--- +id: 66ff9497a20c5b37f678bf8d +videoId: 2k-ym4z8Q9M?si=RzS_o2I6tbWe2vyg +title: Advance Understanding of Arrays +challengeType: 11 +dashedName: advance-understanding-of-arrays + +--- + +# --description-- + +You've asked some amazing questions so far! :clap::clap: +Now, let's take a deeper dive into the concept of arrays. This challenge is all about exploring the intricacies of arrays and enhancing your knowledge to a whole new level. Please read the document linked below and see what additional insights you can gather to deepen your understanding of arrays. + +**Instructions:** + +1. Explore the [Document](https://docs.google.com/document/d/1k9BWRBWBUiNjUnZ_5jEz4MaGJ4dz53xQ6ApszhJd0RI/edit) : Dive into the linked document and absorb the insights it offers about arrays. Pay close attention to the examples and explanations that will help you better understand how to use arrays in your code + +2. Implement Your Learning: After reading, take what you've learned and apply it on your own. Try out different array methods, experiment with their properties, and see how they can be used in practical scenarios. + +3. Share Your Insights: Once you've implemented your learning, submit your final thoughts and understanding of arrays using the provided link. Your reflections and experiences will help solidify your mastery of this powerful tool. + +# --question-- + +## --text-- + +Which of the following methods can be used to add an element to the end of an array in JavaScript? + +## --answers-- + +`push()` + +--- + +`pop()` + +--- + +`shift()` + +--- + +`unshift()` + +## --video-solution-- + +1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/javascript-with-ai/advanced-exploration-of-loop-structures.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/javascript-with-ai/advanced-exploration-of-loop-structures.md new file mode 100644 index 00000000000000..6e01eeceec8d38 --- /dev/null +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/javascript-with-ai/advanced-exploration-of-loop-structures.md @@ -0,0 +1,45 @@ +--- +id: 66ff96f751c97b3cd7e7a44b +videoId: aAgmRzmyIng?si=F8FSmTSvc6z88Fnl +title: Advanced Exploration of Loop Structures +challengeType: 11 +dashedName: advanced-exploration-of-loop-structures +--- + +# --description-- + +You've asked great questions about loops so far! Now, it's time to deepen your understanding. Review the provided document to gather additional insights into loops, and then apply what you've learned to solidify your knowledge. + +**Instructions :** + +1. Read this Document : Carefully go through the linked document to explore further details and concepts related to loops. + +2. Apply Your Learning: Implement the new insights you've gained from the document in your own coding projects. + +3. Submit Your Discoveries: Once you've applied what you've learned, share your final thoughts and understanding about loops by filling out the form linked below. + +# --question-- + +## --text-- + +Which of the following loop structures ensures that the loop body is executed at least once, even if the condition is false? + +## --answers-- + +for loop + +--- + +while loop + +--- + +do-while loop + +--- + +for...in loop + +## --video-solution-- + +3 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4132a76991621af4b0e4b.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/javascript-with-ai/deepen-insight-into-variables.md similarity index 50% rename from curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4132a76991621af4b0e4b.md rename to curriculum/challenges/english/02-javascript-algorithms-and-data-structures/javascript-with-ai/deepen-insight-into-variables.md index ef213259584ec0..fed8de352d44a8 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4132a76991621af4b0e4b.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/javascript-with-ai/deepen-insight-into-variables.md @@ -1,20 +1,20 @@ --- -id: 65f4132a76991621af4b0e4b +id: 66f2988e5ce47a89f2c3c012 videoId: ADD YOUR VIDEO ID HERE!!! -title: Step 6 +title: Deepen Insight into Variables challengeType: 11 -dashedName: step-6 +dashedName: deepen-insight-into-variables --- # --description-- -Importance of Coding description. +Deepen Insight into Variables description. # --question-- ## --text-- -Importance of Coding question? +Deepen Insight into Variables question? ## --answers-- diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f3f6213293b31d7df443e5.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f3f6213293b31d7df443e5.md deleted file mode 100644 index 417c759c512230..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f3f6213293b31d7df443e5.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -id: 65f3f6213293b31d7df443e5 -title: Step 1 -challengeType: 0 -dashedName: step-1 ---- - -# --description-- - -step 1 instructions - -# --hints-- - -Test 1 - -```js - -``` - -# --seed-- - -## --seed-contents-- - -```html ---fcc-editable-region-- - ---fcc-editable-region-- -``` diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f411ef1540c01e03d41b09.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f411ef1540c01e03d41b09.md deleted file mode 100644 index b705b97adb987f..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f411ef1540c01e03d41b09.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -id: 65f411ef1540c01e03d41b09 -videoId: rRSD128KWIM -title: Step 2 -challengeType: 11 -dashedName: step-2 ---- - -# --description-- - - - -# --question-- - -## --text-- - -Introduction to Computers question? - -## --answers-- - -Answer 1 - ---- - -Answer 2 - ---- - -Answer 3 - -## --video-solution-- - -1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4128330131d20c7373c2e.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4128330131d20c7373c2e.md deleted file mode 100644 index 5e687f9d4ee479..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4128330131d20c7373c2e.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -id: 65f4128330131d20c7373c2e -videoId: wgbV6DLVezo -title: Step 4 -challengeType: 11 -dashedName: step-4 ---- - -# --description-- - -Why do Computers use Binary? description. - -# --question-- - -## --text-- - -Why do Computers use Binary? question? - -## --answers-- - -Answer 1 - ---- - -Answer 2 - ---- - -Answer 3 - -## --video-solution-- - -1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f413125d6338218918820f.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f413125d6338218918820f.md deleted file mode 100644 index b19f47fa0295b5..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f413125d6338218918820f.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -id: 65f413125d6338218918820f -videoId: E3TDMVETp08 -title: Step 5 -challengeType: 11 -dashedName: step-5 ---- - -# --description-- - -What is Coding? description. - -# --question-- - -## --text-- - -What is Coding? question? - -## --answers-- - -Answer 1 - ---- - -Answer 2 - ---- - -Answer 3 - -## --video-solution-- - -1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4134acd811521d5dd1094.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4134acd811521d5dd1094.md deleted file mode 100644 index 98527268e4ce3f..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4134acd811521d5dd1094.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -id: 65f4134acd811521d5dd1094 -videoId: XASY30EfGAc -title: Step 7 -challengeType: 11 -dashedName: step-7 ---- - -# --description-- - -What are Programming Languages? description. - -# --question-- - -## --text-- - -What are Programming Languages? question? - -## --answers-- - -Answer 1 - ---- - -Answer 2 - ---- - -Answer 3 - -## --video-solution-- - -1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4136f9d2a942229aa018e.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4136f9d2a942229aa018e.md deleted file mode 100644 index 0e752809c6e3d9..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4136f9d2a942229aa018e.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -id: 65f4136f9d2a942229aa018e -videoId: ADD YOUR VIDEO ID HERE!!! -title: Step 8 -challengeType: 11 -dashedName: step-8 ---- - -# --description-- - -How Computer Understands our Code? description. - -# --question-- - -## --text-- - -How Computer Understands our Code? question? - -## --answers-- - -Answer 1 - ---- - -Answer 2 - ---- - -Answer 3 - -## --video-solution-- - -1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f413c4f3b87d224e8b856e.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f413c4f3b87d224e8b856e.md deleted file mode 100644 index fe94d20f92aa27..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f413c4f3b87d224e8b856e.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -id: 65f413c4f3b87d224e8b856e -videoId: QXjU9qTsYCc -title: Step 9 -challengeType: 11 -dashedName: step-9 ---- - -# --description-- - -How Does Computer Understands our Code? - Part - 2 description. - -# --question-- - -## --text-- - -How Does Computer Understands our Code? - Part - 2 question? - -## --answers-- - -Answer 1 - ---- - -Answer 2 - ---- - -Answer 3 - -## --video-solution-- - -1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f413ee386282227bc38a5e.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f413ee386282227bc38a5e.md deleted file mode 100644 index 632ed2cbcff3ac..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f413ee386282227bc38a5e.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -id: 65f413ee386282227bc38a5e -videoId: ADD YOUR VIDEO ID HERE!!! -title: Step 10 -challengeType: 11 -dashedName: step-10 ---- - -# --description-- - -Why JavaScript? description. - -# --question-- - -## --text-- - -Why JavaScript? question? - -## --answers-- - -Answer 1 - ---- - -Answer 2 - ---- - -Answer 3 - -## --video-solution-- - -1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4144757efed229f90c970.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4144757efed229f90c970.md deleted file mode 100644 index c30666c48555f3..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f4144757efed229f90c970.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -id: 65f4144757efed229f90c970 -videoId: ADD YOUR VIDEO ID HERE!!! -title: Step 11 -challengeType: 11 -dashedName: step-11 ---- - -# --description-- - -What is NodeJS? description. - -# --question-- - -## --text-- - -What is NodeJS? question? - -## --answers-- - -Answer 1 - ---- - -Answer 2 - ---- - -Answer 3 - -## --video-solution-- - -1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f416ff62ed3524affa6c2c.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f416ff62ed3524affa6c2c.md deleted file mode 100644 index 6cb0030c18a954..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-3/65f416ff62ed3524affa6c2c.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -id: 65f416ff62ed3524affa6c2c -videoId: Cu3R5it4cQs -title: Step 3 -challengeType: 11 -dashedName: step-3 ---- - -# --description-- - -Introduction to Computers - Part 2. description. - -# --question-- - -## --text-- - -Introduction to Computers - Part 2. question? - -## --answers-- - -Answer 1 - ---- - -Answer 2 - ---- - -Answer 3 - -## --video-solution-- - -1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-ai-4/66e3fd3fdd70614f1d6401c7.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-ai-4/66e3fd3fdd70614f1d6401c7.md deleted file mode 100644 index 3f39740798853e..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module-ai-4/66e3fd3fdd70614f1d6401c7.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -id: 66e3fd3fdd70614f1d6401c7 -title: Step 1 -challengeType: 0 -dashedName: step-1 -# demoType can either be 'onClick' or 'onLoad'. If the project or lab doesn't have a preview, delete the property -demoType: onClick ---- - -# --description-- - -step 1 instructions - -# --hints-- - -Test 1 - -```js - -``` - -# --seed-- - -## --seed-contents-- - -```html ---fcc-editable-region-- - ---fcc-editable-region-- -``` diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module4/66e3fe547e3cd15eec044767.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module4/66e3fe547e3cd15eec044767.md deleted file mode 100644 index accaaaf0e191b2..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module4/66e3fe547e3cd15eec044767.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -id: 66e3fe547e3cd15eec044767 -title: Step 1 -challengeType: 0 -dashedName: step-1 -# demoType can either be 'onClick' or 'onLoad'. If the project or lab doesn't have a preview, delete the property -demoType: onClick ---- - -# --description-- - -step 1 instructions - -# --hints-- - -Test 1 - -```js - -``` - -# --seed-- - -## --seed-contents-- - -```html ---fcc-editable-region-- - ---fcc-editable-region-- -``` diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module4/demo-1.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module4/demo-1.md deleted file mode 100644 index 237f8859fbf077..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/module4/demo-1.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -id: 66e424792c8cc80e984ac365 -videoId: ADD YOUR VIDEO ID HERE!!! -title: demo1 -challengeType: 11 -dashedName: demo-1 ---- - -# --description-- - -demo1 description. - -# --question-- - -## --text-- - -demo1 question? - -## --answers-- - -Answer 1 - ---- - -Answer 2 - ---- - -Answer 3 - -## --video-solution-- - -1 diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/ng-test/66e42777f316992855411a74.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/ng-test/66e42777f316992855411a74.md deleted file mode 100644 index c9bf73b38b4a07..00000000000000 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/ng-test/66e42777f316992855411a74.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -id: 66e42777f316992855411a74 -title: Step 1 -challengeType: 0 -dashedName: step-1 -# demoType can either be 'onClick' or 'onLoad'. If the project or lab doesn't have a preview, delete the property -demoType: onClick ---- - -# --description-- - -step 1 instructions - -# --hints-- - -Test 1 - -```js - -``` - -# --seed-- - -## --seed-contents-- - -```html ---fcc-editable-region-- - ---fcc-editable-region-- -``` diff --git a/tools/challenge-editor/api/routes/package.json b/tools/challenge-editor/api/routes/package.json new file mode 100644 index 00000000000000..e45d42f911c609 --- /dev/null +++ b/tools/challenge-editor/api/routes/package.json @@ -0,0 +1,71 @@ +{ + "name": "@freecodecamp/curriculum", + "version": "0.0.0-next.4", + "description": "freeCodeCamp's curriculum seed files", + "license": "BSD-3-Clause", + "private": true, + "engines": { + "node": ">=16", + "pnpm": ">=9" + }, + "repository": { + "type": "git", + "url": "https://github.com/freeCodeCamp/freeCodeCamp.git" + }, + "bugs": { + "url": "https://github.com/freeCodeCamp/freeCodeCamp/issues" + }, + "homepage": "https://github.com/freeCodeCamp/freeCodeCamp#readme", + "author": "freeCodeCamp ", + "scripts": { + "build": "ts-node --project ../tsconfig.json ../tools/scripts/build/build-curriculum", + "create-empty-steps": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/create-empty-steps", + "create-next-challenge": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/create-next-challenge", + "create-this-challenge": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/create-this-challenge", + "create-next-step": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/create-next-step", + "create-next-task": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/create-next-task", + "insert-challenge": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/insert-challenge", + "insert-step": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/insert-step", + "insert-task": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/insert-task", + "install-puppeteer": "puppeteer browsers install chrome", + "delete-step": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/delete-step", + "delete-challenge": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/delete-challenge", + "delete-task": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/delete-task", + "lint": "ts-node --project ../tsconfig.json lint-localized", + "repair-meta": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/repair-meta", + "reorder-tasks": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/reorder-tasks", + "update-challenge-order": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/update-challenge-order", + "update-step-titles": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/update-step-titles", + "test": "NODE_OPTIONS='--max-old-space-size=7168' ts-node ./node_modules/mocha/bin/mocha.js --delay --exit --reporter progress --bail", + "test:full-output": "NODE_OPTIONS='--max-old-space-size=7168' FULL_OUTPUT=true ts-node ./node_modules/mocha/bin/mocha.js --delay --reporter progress" + }, + "devDependencies": { + "@babel/core": "7.23.7", + "@babel/preset-env": "7.23.7", + "@babel/preset-typescript": "7.23.3", + "@babel/register": "7.23.7", + "@compodoc/live-server": "^1.2.3", + "babel-plugin-dynamic-import-node": "2.3.3", + "babel-plugin-lodash": "3.3.4", + "babel-plugin-transform-runtime": "6.23.0", + "babel-preset-env": "1.7.0", + "babel-preset-react": "6.24.1", + "babel-preset-stage-0": "6.24.1", + "chai": "4.4.1", + "css": "3.0.0", + "glob": "8.1.0", + "invariant": "2.2.4", + "joi": "17.12.2", + "joi-objectid": "3.0.1", + "js-yaml": "4.0.0", + "jsdom": "16.7.0", + "lodash": "4.17.21", + "mocha": "10.3.0", + "mock-require": "3.0.3", + "ora": "5.4.1", + "puppeteer": "22.12.1", + "readdirp": "3.6.0", + "string-similarity": "4.0.4", + "unist-util-visit": "2.0.3" + } +}