aa7c58f7e5
fix(curriculum): add missing quotation marks ( #45460 )
2022-03-18 18:28:42 +01:00
dab600b4b1
chore: refactor the everything be true challenge ( #45433 )
2022-03-16 08:29:46 -07:00
f4077cab7f
feat: added new test case to argument optional challenge ( #45076 )
2022-02-10 17:17:07 -06:00
9ffc7b4711
fix(curriculum): add two edge test cases to the sorted union problem ( #44860 )
...
* fix: fixed solution of sorted union
* fix: improved solution of sorted union problem
2022-02-02 19:28:31 +01:00
bcc9beff1f
feat(curriculum): introduce let and const earlier ( #43133 )
...
* fix: move "Explore Differences Between..." to basic JS, update seed and tests
* fix: resequence "Declare String Variables"
* fix: move "Declare a Read-Only Variable..." to basic JS, update seed and tests
* fix: revert changes to non-English "Explore Differences Between..." test text
* fix: revert test strings, solutions, and seeds for non-English challenges
* fix: update "Declare String Variables" description
* fix: sync quotation marks in description and seed
* fix: modify note in "Declare a Read-Only..." challenge
* fix: update operator and compound assignment challenges
* fix: update string challenges
* fix: update array and array method challenges
* fix: update function and scope challenges, resequence slightly
* fix: "Word Blanks" solution
* fix: add spacing to seed
* fix: concatenating += challenge spacing
* fix: appending variables to strings spacing
* fix: find the length of a string spacing
* fix: removed instances of removedFromMyArray = 0
* fix: switch challenges
* fix: function argument and param spacing
* fix: update counting cards, object challenges, and record collection
* fix: finish rest of Basic JS section
* fix: introducing else statements solution
* fix: update spacing and wording
* fix: update wording for const challenge
* fix: update functional programming challenges
* fix: intermediate algorithms and cert challenges
* fix: revert some spacing and remove comments for fp challenge solutions
* feat: add notes with links to moved let and const challenges in first two es6 challenges
* fix: update es6 intro text
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-the-plus-equals-operator.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/finding-a-remainder-in-javascript.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/global-scope-and-functions.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/iterate-through-an-array-with-a-for-loop.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/iterate-through-an-array-with-a-for-loop.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* fix: concatenating strings with plus operator seed
* fix: add comments back to Declare a Read-Only Variable... seed
* feat: add es6 to basic javascript redirect tests for let and const challenges
* fix: revert "Concatenating Strings with Plus Operator" seed
* fix: move test file to cypress/integration/learn/redirects, separate redirect tests
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
2021-10-25 17:55:58 +01:00
b8b86a65b8
fix issue #42850 , test for setters adding properties ( #43813 )
2021-10-14 15:58:13 +02:00
8c9ca6a2fa
fix: replace JS algorithms and data structures bitly links ( #41813 )
2021-09-21 16:46:25 +01:00
b5ed2619eb
fix: replace inline code blocks ( #41576 )
2021-03-26 02:37:48 +05:30
7117919d36
chore(learn): audit javascript algorithms and data structures ( #41092 )
...
* chore(learn): audit basic algorithm scripting
* chore(learn): audit basic data structures
* chore(learn): audit basic javascript
* chore(learn): audit debugging
* chore(learn): audit es6
* chore(learn): audit functional programming
* chore(learn): audit intermidate algorithms
* chore(learn): audit js projects
* chore(learn): audit object oriented programming
* chore(learn): audit regex
* fix(learn): remove stray .
* fix(learn): string to code
* fix(learn): missed some
* fix(learn): clarify strings
Based on Randy's feedback, clarifies string instances where quotes
were removed in favour of back ticks.
* fix: apply suggestions - thanks Randy! :)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com >
* fix: non-suggestion comments
* chore(learn): remove comments from codes
Removes the comments from the description and instruction code
blocks to ensure that all relevant information is translatable.
* fix: Apply suggestions from code review
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com >
* fix: revert crowdin fix
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/mutations.md
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com >
* fix: Apply suggestions from code review
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-arrays.md
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com >
* fix: Apply suggestions from code review
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com >
* chore: change voice
* fix: Christopher Nolan
* fix: expressions would evaluate
* fix: will -> would
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/add-methods-after-inheritance.md
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com >
* fix: to work to push
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/iterate-with-javascript-for-loops.md
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/add-methods-after-inheritance.md
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com >
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com >
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-03-02 17:12:12 -07:00
ee1e8abd87
feat(curriculum): restore seed + solution to Chinese ( #40683 )
...
* feat(tools): add seed/solution restore script
* chore(curriculum): remove empty sections' markers
* chore(curriculum): add seed + solution to Chinese
* chore: remove old formatter
* fix: update getChallenges
parse translated challenges separately, without reference to the source
* chore(curriculum): add dashedName to English
* chore(curriculum): add dashedName to Chinese
* refactor: remove unused challenge property 'name'
* fix: relax dashedName requirement
* fix: stray tag
Remove stray `pre` tag from challenge file.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com >
Co-authored-by: nhcarrigan <nhcarrigan@gmail.com >
2021-01-12 19:31:00 -07:00
0bd52f8bd1
Feat: add new Markdown parser ( #39800 )
...
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00
2b9e38a17b
fix: replace .english.md extension with .md
2020-09-29 22:09:04 +02:00
a86b220eb7
chore: remove isRequired from curriculum files
2020-09-21 20:51:46 +05:30
bd68b70f3d
Feat: hide blocks not challenges ( #39504 )
...
* fix: remove isHidden flag from frontmatter
* fix: add isUpcomingChange
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com >
* feat: hide blocks not challenges
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com >
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com >
2020-09-03 15:07:40 -07:00
f52baa51be
fix(learn): Added test for Capitalized -> uncapitalized variants
...
* myReplace("I think we should look up there", "up", "Down")
* Checks for previously unchecked scanarios of the 'after' input being capitalized and 'before' word being uncapitalized.
2020-08-03 14:52:40 +03:00
be4070a73d
fix(curriculum): improve test robustness ( #39004 )
...
* Add: // Only change code...comments
* Allow user to modify bob
2020-06-13 11:47:06 +02:00
f1c9b08cf3
fix(curriculum): add isHidden: false to challenges
...
This includes certificates (where it does nothing), but does not
include any translations.
2020-05-25 16:25:19 +05:30
bdbf5bfd8d
fix:Added extra test cases for 'arguments-optional' problem ( #38827 )
2020-05-21 14:56:06 +05:30
c0e2b65864
Wrapped all the test results with quotation ( #38706 )
2020-05-02 09:25:55 -05:00
c2558b3816
fix(Curriculum): ensure code that includes and is not equal to the fl… ( #38497 )
...
* fix(Curriculum): ensure code that includes and is not equal to the flat or flatMap methods do not fail the test suite
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/steamroller.english.md
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com >
* Update steamroller.english.md
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com >
2020-04-23 14:59:58 -05:00
f142eed6ef
Fix pig latin challenge description ( #38018 )
...
* Fix pig latin challenge description
Added statement for beginning with consonants and if a vowel does not begin with a vowel.
* fix: update description/instructions
* fix: removed extra line break
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* fix: removed extra line break
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2020-03-26 23:38:07 +01:00
4fbce07792
fix: improve test regex to validate disallowed methods that can be bypassed by prototype reassignments and/or otherwise ( #38214 )
...
* fix: improve test regex to validate disallowed methods that can be bypassed by prototype reassignments and/or otherwise
* fix: fixing regex pattern
2020-03-26 08:13:34 -07:00
17a55c6e18
fix(curriculum): Consolidated comments for JavaScript Algorithms and Data Structures challenges - part 1 of 4 ( #38258 )
...
* fix: consolidate/remove comments
* fix: remove => from comment
* fix: reverted changes to add same changes to another PR
* fix: removed 'the' from sentence
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* fix: removed 'the' from the sentence
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2020-03-04 13:08:54 -06:00
004b99bf8f
chore: fix typos in spelling ( #38100 )
...
* spelling: accidentally
* spelling: announce
* spelling: assembly
* spelling: avoid
* spelling: backend
* spelling: because
* spelling: claimed
* spelling: candidate
* spelling: certification
* spelling: certified
* spelling: challenge
* spelling: circular
* spelling: it isn't
* spelling: coins
* spelling: combination
* spelling: compliant
* spelling: containers
* spelling: concise
* spelling: deprecated
* spelling: development
* spelling: donor
* spelling: error
* spelling: everything
* spelling: exceed
* spelling: exist
* spelling: falsy
* spelling: faulty
* spelling: forward
* spelling: handle
* spelling: indicates
* spelling: initial
* spelling: integers
* spelling: issealed
* spelling: javascript
* spelling: length
* spelling: maximum
* spelling: minimum
* spelling: mutable
* spelling: notifier
* spelling: coordinate
* spelling: passport
* spelling: perform
* spelling: permuter
* spelling: placeholder
* spelling: progressively
* spelling: semantic
* spelling: submission
* spelling: submit
* spelling: translations
* spelling: turquoise
* spelling: visualization
* spelling: without
* spelling: registration
* spelling: representation
2020-02-08 23:59:10 +05:30
afd467f5dc
Removes RSA links from English challenges ( #37869 )
...
* RSA links deleted from challenges
* fix: remove remaining RSA links in challenges
2020-02-07 14:46:07 +09:00
d89eae392f
fix: adding test to check if flat or flatMap method was used in the steamroller challenge ( #38158 )
...
* fix: adding test to check if flat or flatMap method was used in the steamroller challenge
* Addressed comments and acknowledged suggestions
2020-02-04 17:00:33 -05:00
da99033b77
fix: sum all primes description ( #37750 )
...
* fix: sum all primes description
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-primes.english.md
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-primes.english.md
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2019-11-30 16:33:37 -06:00
437ba8b103
fix(curriculum): Read-search-ask link now point to correct url as noted in the issue ( #37753 )
...
* fix: broken Read-search-ask link now point to correct url
* fix: changed link to original forum link with more views
* fix: changed http links to correct version
* fix: link in help modal
2019-11-19 19:54:48 -05:00
3ec1fe8ea7
feat: add forumTopicId to challenge frontmatter [pre-existing]
...
This commit adds the pre-existing challenge guide topics in the
forum to the forntmatter of their challenge markdown files.
2019-08-05 22:14:37 +05:30
ba6ae7154c
fix: removed more assert msg arguments ( #36439 )
2019-07-28 05:16:04 +01:00
d78168f7db
fix(curriculum): Remove unnecessary assert message argument from English challenges JavaScript Algorithms and Data Structures - 03 ( #36403 )
...
* fix: rm assert msg basic-data-structures
* fix: rm assert msg intermed-algo-scripting
* fix: rm assert msg data-structures projects
2019-07-24 10:56:38 +02:00
05f73ca409
fix(curriculum): Convert blockquote elements to triple backtick syntax for JavaScript Algorithms and Data Structures ( #35992 )
...
* fix: convert js algorithms and data structures
* fix: revert some blocks back to blockquote
* fix: reverted comparison code block to blockquotes
* fix: change js to json
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* fix: convert various section to triple backticks
* fix: Make the formatting consistent for comparisons
2019-05-17 08:20:30 -05:00
6d9ce1c85c
Update description of tests pig-latin.english.md where too vague ( #35499 )
...
* Update description of tests pig-latin.english.md
The last two tests "Should handle words where the first vowel comes in the end of the word." and "Should handle words without vowels." are too vague without examples of what is meant by that.
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/pig-latin.english.md
Co-Authored-By: beansprout <christinegierer@gmail.com >
2019-03-25 08:02:18 -07:00
9440cca69f
Added example Input/Output to challenge ( #34738 )
...
* Added example Input/Output to challenge
Input/Output example will make it clear what the challenge is asking the camper to do.
* Formatting changes made to file
* Made minor changes in formatting
Added <code> tag to single line code.
* Formatting update
* Added requested formatting changes
* Refactored sentence and removed earlier example
2019-03-02 02:26:23 -05:00
37aa3172ea
fix: added missing & in text of tests ( #35341 )
2019-02-22 00:28:05 -05:00
aa621a20b5
fix: removed unecessary guideUrl from frontmatter
2019-02-19 11:34:27 +03:00
7304bdc0af
Update description of pig-latin algorithm ( #21235 )
2018-11-12 16:13:49 +09:00
79d9012432
fix(curriculum): quotes in tests ( #18828 )
...
* fix(curriculum): tests quotes
* fix(curriculum): fill seed-teardown
* fix(curriculum): fix tests and remove unneeded seed-teardown
2018-10-20 23:32:47 +05:30
65686b44e5
fix: removed all hidden chars from tests verbiage ( #19674 )
...
* fix: removed all ​ from tests verbiage
* fix: added single quote to start text string
* remove single quote from text line
* fix: removed the hidden chars in the testStrings
* fix: removed hidden chars from testString section
* fix: removed hidden chars form testString part
* fix: removed hidden chars from testString part
* fix: removed hidden chars from testString part
2018-10-20 17:58:26 +05:30
a293769892
fix(coding): remove misleading test
...
A test that featured nested arrays just happens to work, but nested arrays will not be removed if they’re duplicates by the current solution of this challenge. See issue #18265
2018-10-15 19:31:54 +09:00
ee9f6b2d72
chore(meta): Move challenge meta to challenges root
2018-10-11 02:15:05 +05:30
46d8d61776
docs: update guide url
2018-10-08 11:02:25 -04:00
a859035023
fix(challenge-md): Fix quotes that failed in the transform
2018-10-08 11:38:26 +05:30
8f39bc1288
chore(curriculum): Remove files in wrong format
2018-10-05 15:58:12 +01:00