Radi Totev
b2c05d3c79
fix(curriculum): add removing element to the mutation test ( #45581 )
2022-04-05 15:59:46 +02:00
Nicholas Carrigan (he/him)
8954449625
feat: refactor the refactor challenge ( #44770 )
2022-01-17 09:57:15 +01:00
Thomas Albertini
b2a251fff0
fix: small lint fix in challenges functions ( #44728 )
...
* fix: small lint fix in challenges functions
* Revert "fix: small lint fix in challenges functions"
This reverts commit cde43d4d86
.
2022-01-10 15:57:22 -08:00
HiddenOgre28
aa0ae1ae67
fix(curriculum): add a function call to seed contents ( #44512 )
2022-01-07 16:34:59 +05:30
Kristofer Koishigawa
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
vama
6996d54fe7
fix(curriculum): specify array is returned from the function ( #43425 )
...
* (fix)Sort an array alphabetically using the sort Method - Array is returned from the function #43417
* (mod)Curriculum - Adding explicit instructions so that function will return a sorted array #43417
* (fix)Curriculum - Correcting grammetic error in instructions #43417
* mod: updated transaltion message #43417
* fix: Curriculum - Updated grammatical error in instructions #43417
Co-authored-by: Vama Mehta <vama.mehta@inqubit.in>
2021-09-13 17:22:55 +02:00
Braxton Excell
6631e51113
fix(curriculum): update object keys referenced in instructions to match provided object ( #42613 )
...
* Update referenced object keys for clarity
Because each movie object has both `Rated` and `imdbRating` key/value pairs, simply referencing `rating` could be confusing to campers. IMO explicitly referencing the keys by name (`Title` and `imdbRating`) removes ambiguity in the non-important part of this challenge and helps campers focus on learning about `.map()`.
* other references and tests
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-map-method-to-extract-data-from-an-array.md
* reverse previous changes
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-map-method-to-extract-data-from-an-array.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-28 16:25:33 +02:00
awu43
ae0d34359a
fix(curriculum): stop false positives in test for array hard coding ( #42461 )
...
* Fixed test regex to avoid false matches
* Changed regex to only match values in globalArray
* Revert non-English changes
2021-06-15 10:35:35 -05:00
alirezaghey
777c508f82
fix(curriculum): small english improvement ( #42173 )
...
* fix(curriculum): small english improvement
* fix(curriculum): small english improvement
Co-authored-by: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
Co-authored-by: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
2021-05-18 14:42:05 -07:00
alirezaghey
7fb1b142e3
fix(curriculum): small english improvement ( #42167 )
2021-05-17 15:53:15 -05:00
Sem Bauke
9c28a2300a
fix(curriculum): look for inlined filter function ( #41953 )
2021-04-30 20:55:16 +01:00
Evgeny Klimenchenko
db369fbed1
fix(client): remove JS comments from user code for tests ( #41873 )
...
* Removes comments in js challanges by default
* fix local-scope-and-functions test regex
* fix all languages
* revert language changes
* removed unnecessary removeJSComments from challenges
* fix challanges in other languages
* removed removeJSComments from all challanges
2021-04-28 10:18:54 -05:00
Akib Maredia
523997c33b
fix: Mr.Page's firstname to Elliot ( #41744 )
2021-04-05 08:49:12 +02:00
Nicholas Carrigan (he/him)
e1ea77412b
chore(i18n,curriculum): updates ( #41689 )
...
Apply typo fixes and formatting changes based on feedback from
internationalisation process.
2021-03-31 13:48:01 +05:30
Randell Dawson
b5ed2619eb
fix: replace inline code blocks ( #41576 )
2021-03-26 02:37:48 +05:30
Nicholas Carrigan (he/him)
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
Ismail Tlemçani
0f8449788c
feat(learn): add tests to use a callback function in the sort method ( #40847 )
2021-02-10 17:05:23 +05:30
Oliver Eyton-Williams
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
Oliver Eyton-Williams
0bd52f8bd1
Feat: add new Markdown parser ( #39800 )
...
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00
Lasse Jørgensen
df44da9dc2
fix(challenge): correct terminology and inform of correct array copying ( #40045 )
...
* fix(challenge): correct terminology and inform of correct array copying
* fix(challenge): update text with proposed changes
2020-11-25 08:14:33 -08:00
Shaun Hamilton
bce3d5b372
fix(learn): remove white space for quick fix ( #40231 )
...
* fix(learn): remove white space for quick fix
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2020-11-20 09:21:21 +01:00
Joseph Mawa
e2ae6303d5
fix(learn): Implement map and filter ( #39621 )
...
* Added changes to implement-filter-method challenge as requested in reviews by Randall D and moT01
* Added changes requested for in code review
2020-10-14 10:33:43 -06:00
Oliver Eyton-Williams
a71150074d
fix(learn): preserve whitespace in the tool panel ( #39973 )
2020-10-14 21:40:15 +05:30
Oliver Eyton-Williams
2b9e38a17b
fix: replace .english.md extension with .md
2020-09-29 22:09:04 +02:00
Hassaan Pasha
80438cac3e
feat(client, learn): add helper functions for common validation operations ( #38605 )
...
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-09-17 19:38:01 +05:30
Oliver Eyton-Williams
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
Mayank Chauhan
e7718e5c3f
fix(learn): improved tests for validating incrementer function ( #39385 )
...
* Update avoid-mutations-and-side-effects-using-functional-programming.english.md
* Update avoid-mutations-and-side-effects-using-functional-programming.english.md
* Update avoid-mutations-and-side-effects-using-functional-programming.english.md
* fix typo in avoid-mutations-and-side-effects-using-functional-programming.english.md
2020-09-01 08:44:24 -07:00
Ryan-Chu
bd02c989df
fix(curriculum): rename variable to avoid conflict ( #39428 )
2020-08-19 16:47:30 +02:00
Mike Robinson
e7d2028bba
fix(learn): change test order to test for the value after execution has finished ( #39363 )
...
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2020-08-05 01:18:50 +05:30
Nakul Nambiar
e4960e38ef
fix(curriculum): Removed global variable and updated test for "Functional Programming: Apply Functional Programming to Convert Strings to URL Slugs" ( #39359 )
...
* Fixed Some Typos
* Removed global variable and updated tests
Co-authored-by: nakulnambiar <nakul.nambiar@demandfarm.com>
2020-08-02 16:24:16 -07:00
Oliver Eyton-Williams
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
Vipul Sinha
7e2b159350
fix(curriculum): update solution to match seed ( #38828 )
2020-05-18 19:52:38 +02:00
kundan kumar
19c514b702
Fix/functional programming challange ( #38516 )
...
* Improved readbility of FP challage
* replace the with a
* corrected gramatical mistake
2020-04-11 21:20:44 -05:00
Hassaan Pasha
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
Randell Dawson
e0e6334628
fix(curriculum): Consolidated comments for JavaScript Algorithms and Data Structures challenges - part 3 of 4 ( #38264 )
...
* fix: remove example code from challenge seed
* fix: remove declaration from solution
* fix: added sum variable back in
* fix: reverted description back to original version
* fix: added examples to description section
* fix: added complete sentence
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: corrected typo
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
* fix: reverted to original desc with formatted code
* fix: removed unnecessary code example from description section
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: failiing test on iterate through array with for loop
* fix: changed to Only change this line
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Manish Giri <manish.giri.me@gmail.com>
Co-authored-by: moT01 <tmondloch01@gmail.com>
2020-03-25 16:07:13 +01:00
Randell Dawson
c401fc7f83
fix(curriculum): removed solution required comment from 6 challenges ( #38339 )
...
* fix: removed solution required comments
* fix: fixed two more challenge soltuions with solution required comment
* fix: remove debugging code
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-03-09 13:58:46 +01:00
Randell Dawson
9252f96566
fix(curriculum): Consolidated comments for JavaScript Algorithms and Data Structures challenges - part 4 of 4 ( #38267 )
...
* fix: consolidate comments
Co-authored-by: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
2020-03-08 15:46:28 +01:00
Tom
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
Randell Dawson
6a7a7e6d7d
fix(curriculum): Consolidated comments for JavaScript Algorithms and Data Structures challenges - part 2 of 4 ( #38259 )
2020-03-03 10:18:30 +03:00
Randell Dawson
78156a65f0
fix(curriculum): Added test to Return a Sorted Array Without Changing the Original Array challenge to validate new array is returned ( #38105 )
...
* fix: added test to validate new array is returned
* fix: changed text to reflect changed test
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-02-24 15:30:48 +01:00
Hassaan Pasha
80ba943ca3
fix: fixed regex for validating newlines in for loops ( #38180 )
2020-02-09 18:43:43 -06:00
Randell Dawson
1f98af5841
fix: used assert.deepEqual to compare arrays ( #37959 )
2019-12-31 13:33:04 +05:30
Randell Dawson
a68e3ef39d
fix: change rating to ratings ( #37863 )
2019-12-02 17:25:11 -05:00
Randell Dawson
b7949087e3
fix(curriculum): Improve verbiage and add examples to the map, filter, and reduce challenges ( #37709 )
...
* fix: improve verbiage and add examples to challenges
* fix: condensed map method wording
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: remove leading space
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: improved verbiage
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: shortened reduce challenge verbiage
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: shorten verbiage related to reduce 2nd parameter
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added comma
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: shortened filter verbiage
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix; added comma
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: improved verbiage of map method
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: shortened reduce verbiage
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: correct map method verbiage
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added word array
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
* fix: added missing comma
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
* fix: changed u to sumOfAges
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
* fix: created one sentence out of many
Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
* fix: changed to on each iteration
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
* fix: fixed verbiage in filter and map challenges
2019-11-27 07:33:09 +05:30
SomeDer
bfa5c26288
fix: use dfn instead of code tag ( #36640 )
...
* Use dfn tags
* remove misused <dfn> tags
* Revert "remove misused <dfn> tags"
This reverts commit b24968a968
.
* Update curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/fill-in-the-blank-with-placeholder-text.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Make "array" lowercase
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Fix dfn usage
* Address last dfn tags
2019-10-27 12:45:37 -04:00
Randell Dawson
568f00e02a
fix(curriculum): Added forumTopicId to remaining 1200 challeng… ( #36558 )
2019-08-05 22:14:37 +05:30
Randell Dawson
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
lasjorg
881be7121e
fix(challenge): remove type coercion check for true and false return ( #36519 )
...
* fix(challenge): remove type coercion check for true and false return
* fix(challenge): use Chai methods for false/true check
2019-07-30 08:33:37 -05:00
Randell Dawson
ba6ae7154c
fix: removed more assert msg arguments ( #36439 )
2019-07-28 05:16:04 +01:00
Randell Dawson
5bf8527523
fix(curriculum): Remove unnecessary assert message argument from English challenges JavaScript Algorithms and Data Structures - 02 ( #36402 )
...
* fix: rm assert msg basic-algorithm-scripting
* fix: rm assert msg debugging
* fix: rm assert msg es6
* fix: rm assert msg functional-programming
2019-07-24 10:47:32 +02:00