Randell Dawson
2c15bcbb43
fix(curriculum): changed test text to use should for JavaScript Algorithms and Data Structures ( #37761 )
...
* fix: corrected typo
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
2019-11-27 11:57:38 +01: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
Randell Dawson
ba415184f6
fix(curriculum): simplify the Remove Items Using splice() challenge without using reduce ( #37829 )
...
* fix: simplify challenge without using reduce
* fix: prevent user from adding new elements to sum to 10
* fix: add from
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
2019-11-26 15:14:44 -05:00
Randell Dawson
98bb2c1085
fix: added new test case to prevent invalid regex ( #37769 )
2019-11-25 20:25:24 -05:00
Kiara Barias
c1b3588e59
Basic JS challenge: use-prototype-properties link added ( #37802 )
...
* Update use-prototype-properties-to-reduce-duplicate-code.english.md
* Update use-prototype-properties-to-reduce-duplicate-code.english.md
2019-11-25 13:02:21 -06:00
Divyanshu
a987245e18
Added new test cases and corrected the solution for positive and negative lookahead for ensuring that strings beginning with numbers are not accepted ( #37485 )
...
* Added new test case '8pass99' for positive and negative lookahead
* Changed the pwRegex to reflect the new solution
* Updated the pwRegex to reflect the latest solution as on forum
* Added another test case to catch "/^(?=\w{6,})(?=\D*\d{2})/" solution
2019-11-24 17:11:20 -05:00
Waldo Luis Ribeiro
deb24f77b6
fix(curriculum): English editing ( #37814 )
...
* fix(curriculum): English editing
* fix(curriculum): English editing
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.english.md
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
* Update use-class-syntax-to-define-a-constructor-function.english.md
2019-11-24 16:38:30 -05:00
Randell Dawson
dc1b59070e
fix: use arrow function syntax ( #37818 )
2019-11-24 02:37:11 -05:00
Waldo Luis Ribeiro
0c22313760
fix(curriculum): English editing ( #37815 )
...
* fix(curriculum): English editing
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-getters-and-setters-to-control-access-to-an-object.english.md
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
2019-11-23 18:37:36 -05:00
Waldo Luis Ribeiro
70f736fe07
fix(curriculum): English editing ( #37816 )
2019-11-23 17:28:56 -05:00
Waldo Luis Ribeiro
5ea745d61f
fix(curriculum): English punctuation correction ( #37811 )
2019-11-22 06:35:10 -08:00
Waldo Luis Ribeiro
1fc71e6969
Update create-a-basic-javascript-object.english.md ( #37810 )
...
small spelling correction (everyday -> every day)
2019-11-22 06:34:34 -08:00
Mo Zargham
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
Marco Valero
fc1a923dd5
Made description of logical operator under "or operator" challenge a little more intuitive. ( #37772 )
...
* Update comparisons-with-the-logical-or-operator.english.md
* Update comparisons-with-the-logical-or-operator.english.md
* Update comparisons-with-the-logical-or-operator.english.md
2019-11-16 21:30:52 -05:00
Kiara Barias
c4dc0b297f
Switch statement example updated ( #37757 )
...
* Switch statement example updated
* Update switch-statements.english.md example
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update switch-statements.english.md example
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-11-14 12:07:08 -08:00
allison-strandberg
2c5453e3bd
Clarify instructions ( #37735 )
...
Closes #37734
2019-11-11 16:48:51 +01:00
Marco Valero
f3ee4f85ae
Changes to "access-array-data-with-indexes.english" challenge description ( #37730 )
...
* edited description to be a little more clear on how to access elements in an array through indeces
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/access-array-data-with-indexes.english.md
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
2019-11-10 15:53:05 -05:00
David Carlson
bdae7343bb
escaped backslash character on line 22 ( #37721 )
...
Previously only showed empty parentheses.
2019-11-08 23:25:48 -05:00
David Carlson
00914be3e8
Removed text about prior knowledge ( #37722 )
...
This section is now after Basic Javascript, but the challenge indicates that "function" and "return" are unknown at this point. Simply a product of an (apparent?) move.
2019-11-08 22:03:44 -05:00
Louisa
2287d73b4f
fix missing closing brace and bracket for promise ( #37474 )
...
There was a missing closing brace, bracket and semi-colon for the constructor new Promise in its definition
2019-11-07 19:24:54 +01:00
Kiara Barias
3119da3ec5
Changes to "Iterate with JavaScript While Loops - English" challenge description ( #37683 )
...
* Update iterate-with-javascript-while-loops.english.md
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/iterate-with-javascript-while-loops.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2019-11-06 13:26:44 -05:00
PartyLich
a52b5b4ebb
feat: rewrite Iterate with JavaScript While Loops challenge ( #37697 )
...
* feat: rewrite Iterate with JavaScript While Loops challenge
Previous example in the challenge description was the exact code
that challenge instructions say to implement. Change the challenge to
differentiate from the example.
resolve freeCodeCamp/freeCodeCamp#37694
* fix: update iterate with javascript while loops solution
* refactor: improve iterate with js while loops challenge wording
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2019-11-06 12:51:59 -05:00
Beau Carnes
28575e9877
Add updated Scrimba link to Word Blank challenge ( #37630 )
2019-10-31 11:37:26 -05:00
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
Omar Dabour
b59f72961f
Fix Typo ( #37557 )
2019-10-26 16:48:06 -04:00
burrowsdt
dd8168133f
Added escape characters to the javascript comment curriculum ( #37518 )
2019-10-25 13:41:42 -05:00
Chayanon Tonsai
8b082995b5
Change test method from string.test(regex) to regex.test(string) ( #37458 )
2019-10-23 09:32:17 -05:00
Tom
69d4d4fe2f
fix: recursion test ( #37419 )
...
* fix(challenge): recursion test
* fix(challenge): replace regex s flag with g
2019-10-23 00:18:40 +05:30
shrobbins
a13bb1b96f
fix: missing semi-colon ( #37454 )
2019-10-21 20:50:51 -04:00
nemogoc
23a3287d8f
update test wording for undefined fn returns ( #36804 )
...
* update test wording for undefined fn returns, bring code out of after test section and check that the function does what it says it does (rather than just checking the result), update seed, example, and solution
2019-10-08 19:16:36 +09:00
Randell Dawson
8225ce7572
fix: added 3 new tests to mutations challenge ( #36857 )
2019-09-30 16:33:57 -04:00
Ent Wickler
d08f009bd1
fix(curriculum): Add tests for setter, getter and setting a temperature (es6 tests) ( #36620 )
...
* add testing for setter, getter and setting a temperature according to some of feedbacks into the issues 17403
* bugfix: temperature is not a function
2019-09-23 17:13:32 +02:00
Jasper Pilgrim
191f915e94
fix(curriculum): grammar, add period ( #36785 )
2019-09-12 18:48:28 +05:30
Huyen Nguyen
087640d020
fix(curriculum): Make challenge instruction clearer ( #36771 )
2019-09-11 14:18:28 +05:30
Tom
91dc86fbf0
fix(curriculum): update debugging challenge (fcc vs browser console) ( #36703 )
...
* fix: debugging-challege+difference-in-consoles
* fix: grammar
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console.english.md
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console.english.md
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console.english.md
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console.english.md
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console.english.md
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* fix/remove-comments-for-first-test
2019-08-30 15:31:57 -07:00
Sahil Bondre
335600d91c
fix: change the explanation of splice function ( #36721 )
2019-08-30 13:59:56 +02:00
Tom
07b38d02b3
fix(challenge-test): make semi-colon optional ( #36704 )
2019-08-28 06:22:47 +05:30
Randell Dawson
316503bfaa
fix: added forumTopicId to new challenge ( #36609 )
2019-08-21 11:20:05 -05:00
Lauren Van Sloun
4507a6b254
Minor grammar fixes ( #36643 )
...
* Minor grammar fix
2019-08-20 14:36:22 +01:00
rns350
1ad3abd50f
feat(curriculum); added another challenge to help teach recursion ( #35966 )
...
* Squashed the removal of the before test section
* fix: changed blockquote triple backtick syntax
* fix: removed recursion explanation
* fix: changed meta title and thru to through
* fix: capitalize "after" in several strings
2019-08-15 20:07:15 +09:00
joelzehring
992fc8f1bf
Update generate-an-array-of-all-object-keys-with-object.keys.english.md ( #36578 )
...
Method should act on any passed parameter rather than the specific object named in this problem.
2019-08-11 11:42:19 -05:00
enrider
76bd5f4fc3
Issue #36564 update regex for spread operator ( #36565 )
...
* Issue #36564 update regex for spread operator
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-the-spread-operator-to-evaluate-arrays-in-place.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2019-08-06 14:56:48 -07: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
mrugesh
91df817cfe
fix(guide) add stubs, update spellings and prepare for move ( #36531 )
...
* fix(guide) add stubs and correct file path misspellings and pr… (#36528 )
* fix: corrected file path to match curriculum
* fix: renamed to newer challenge name
* fix: added solutions to articles from challenge files
* fix: added missing .english to file name
* fix: added missing title to guide article
* fix: correct solution for guide article
* fix: replaced stub with hint
* fix: added space in Hint headers
* fix: added solution to guide article
* fix: added solution to guide article
* test: replaced stub with hint and solution
* fix: add Problem number: to title
* fix: changed generatorexponential to correct name
* fix: renamed knight's tour to knights-tour
* fix: updated guide article
2019-07-30 00:25:58 +05:30
Randell Dawson
ba6ae7154c
fix: removed more assert msg arguments ( #36439 )
2019-07-28 05:16:04 +01:00
Randell Dawson
d0d8282f86
fix(curriculum): Remove additional unnecessary assert message argument wrapped in double quotes from various curriculum sections ( #36457 )
...
* fix: remove double quoted assert msg arg - responsive
* fix: remove double quoted assert msg arg - js
* fix: remove double quoted assert msg arg - libraries
* fix: remove double quoted assert msg arg - coding interview
2019-07-24 13:06:12 +01:00
Randell Dawson
1fa0dcb1e1
fix(curriculum): Remove unnecessary assert message argument from English challenges JavaScript Algorithms and Data Structures - 04 ( #36404 )
...
* fix: rm assert msg OOP
* fix: rm assert msg regular expressions
2019-07-24 11:32:04 +02:00
Randell Dawson
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
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
Oliver Eyton-Williams
6078081a3f
feat: Add guide article and update its challenge ( #36371 )
...
* feat: Add guide article and update its challenge
* Update guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/replace-loops-using-recursion/index.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/replace-loops-using-recursion/index.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/replace-loops-using-recursion/index.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/replace-loops-using-recursion/index.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* fix: Stop hints from being hidden
* fix: Improve the wording.
* Update index.md
Fixed per suggestion
* Update index.md
Fixed per suggestion
2019-07-19 16:14:28 -05:00
Oliver Eyton-Williams
b8593326b0
fix: remove guide linting and fix failing challenges
2019-07-19 15:30:17 +05:30
Oliver Eyton-Williams
7d4dc382b4
fix(curriculum): format challenge markdown as per linting rules ( #36326 )
...
* fix: Format challenge markdown according to linting rules
* fix: Put spaces after section tags
2019-07-19 15:30:17 +05:30
Randell Dawson
c387873640
fix(curriculum): added extra line before </section> tag - Engl… ( #36278 )
2019-07-19 15:30:17 +05:30
Ashrith Reddy
8e9014214a
made semi-colon on basic-javascript challenge optional. ( #36465 )
...
* made closing operator optional.
* truncated unnecessary regex
2019-07-18 08:07:17 -07:00
Randell Dawson
e9212c61d2
fix(curriculum): Remove unnecessary assert message argument from English challenges JavaScript Algorithms and Data Structures - 01 ( #36401 )
...
* fix: rm assert msg basic-javascript
* fix: removed more assert msg args
* fix: fixed verbiage
Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
2019-07-13 08:07:53 +01:00
moT01
9ce8bbb4c0
fix/add-suggested-grammar-and-punctuation
2019-07-12 22:44:23 +09:00
moT01
d3cf6f42dd
fix/grammar+punctuation
2019-07-12 22:44:23 +09:00
moT01
fa365a7f77
fix/capitalization-in-title
2019-07-12 22:44:23 +09:00
moT01
832cbc91b1
fix/the-mess-I-made
2019-07-12 22:44:23 +09:00
moT01
da254743cd
feat/new-lessons-on-js-promises
2019-07-12 22:44:23 +09:00
Randell Dawson
73bdff45fd
fix(curriculum): Added a Recursion challenge to the Basic JavaScript section ( #35968 )
...
* fix: added a recursion challenge
* fix: changed blockquote to triple backtick syntax
* fix: added an extra line to separate code section
* fix: renamed challenge and improved verbiage
* fix: added full path to challenge
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: improved wording
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added closing )
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added missing comma and the word at
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
* fix: added missing text for test case
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
* fix: added note regarding startNum and endNum being same
* fix: wrapped parameter names with code tags
2019-07-12 13:40:50 +02:00
lasjorg
f03f05d53d
fix(challenge): rename challenge, change fields to properties, fix test ( #36338 )
...
* fix(challenge): rename challenge, change fields to properties, fix test
* fix(challenge): update challenge name in meta.json
* fix(challenge): update test and assertion message
* fix(challenge): update second assert message
* fix(challenge): remove the word Person from text
2019-07-10 10:31:15 +02:00
organicdude
f65eea3dd6
Increase language clarity in challenge "Basic Javascript: Iterate Through an Array with a For Loop" ( #36081 )
...
* Increase language clarity in the challenge.
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/iterate-through-an-array-with-a-for-loop.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* fix/make-suggested-changes-on-behalf-of-author
* fix/add-empty-line-back-in
2019-07-03 15:13:25 +05:30
Tom
50b45b9379
Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/create-an-export-fallback-with-export-default.english.md
...
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2019-06-28 16:04:59 +08:00
moT01
2e49aa02df
fix/add-anonymous-function-example
2019-06-28 16:04:59 +08:00
moT01
9c1b83dd0c
fix/add-tests+note-in-import-lesson
2019-06-28 16:04:59 +08:00
moT01
9199319ae1
fix/build-error
2019-06-28 16:04:59 +08:00
moT01
9c249bf8be
fix/build-error
2019-06-28 16:04:59 +08:00
moT01
d68475e7ea
fix/build-error
2019-06-28 16:04:59 +08:00
moT01
61895e05f7
fix/final-draft-before-reviews
2019-06-28 16:04:59 +08:00
moT01
f14f1bf750
fix/rename-lessons
2019-06-28 16:04:59 +08:00
moT01
23d723a71f
fix/add-tests
2019-06-28 16:04:59 +08:00
moT01
2e6cb9181a
fix/revise-es6-import-export-lessons
2019-06-28 16:04:59 +08:00
moT01
6e8bbd169b
fix/final-draft-before-reviews
2019-06-28 16:04:59 +08:00
moT01
956212cdc0
fix/rename-lessons
2019-06-28 16:04:59 +08:00
moT01
8b5cc6d277
fix/add-tests
2019-06-28 16:04:59 +08:00
moT01
8a579210e3
fix/revise-es6-import-export-lessons
2019-06-28 16:04:59 +08:00
moT01
00b5ce97e3
fix/verbiage
2019-06-27 15:48:07 +08:00
Tom
72cb38a839
Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-objects.english.md
...
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2019-06-27 15:48:07 +08:00
moT01
3b96f3e60d
fix/terminology
2019-06-27 15:48:07 +08:00
Tom
81758eeea6
Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-nested-objects.english.md
...
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-06-27 15:48:07 +08:00
Tom
d2c5cc7ff3
Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-nested-objects.english.md
...
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-06-27 15:48:07 +08:00
Tom
9f4799bba1
Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-nested-objects.english.md
...
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-06-27 15:48:07 +08:00
Tom
e58c512052
Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-objects.english.md
...
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-06-27 15:48:07 +08:00
moT01
d0e5405e5c
fix/make-tests-more-robust
2019-06-27 15:48:07 +08:00
moT01
21b411b855
fix/bad-solution
2019-06-27 15:48:07 +08:00
moT01
246ca16f32
fix/es6-destructuring-reword+new-lesson
2019-06-27 15:48:07 +08:00
Tom
51b5defb7e
fix/regex-upper-and-lower-bounds-tests ( #36059 )
...
* fix/regex-upper-and-lower-bounds-tests
* fix/add-solution-back
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/specify-upper-and-lower-number-of-matches.english.md
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-06-25 14:45:20 -07:00
Randell Dawson
3fa14df925
fix: renamed folder without starting dash ( #36124 )
2019-06-21 18:05:33 -04:00
Randell Dawson
f53ca79890
fix: changed tests to allow other valid solutions ( #36210 )
2019-06-21 18:04:30 -04:00
Randell Dawson
63a0fa745b
fix: improved tests to allow more valid solutions ( #36193 )
2019-06-20 17:09:46 -04:00
Oliver Eyton-Williams
2024e238fa
feat(curriculum): Add basic recursion lesson ( #36200 )
...
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
2019-06-19 23:50:44 +05:30
Michał Kozłowski
8b40da02a3
multiple ternary operator challenge - add note about code readability ( #36269 )
...
* fix multiple ternary operator challenge
* Fix a typo in multiple ternary operator challenger
Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
* Fix a typo in multiple ternary operator challenge #2
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-06-15 19:06:56 +01:00
Siddhant Shekhar
c1d3817732
fix : replaced test cases' string to make more sense ( #36170 )
2019-06-06 15:53:31 -07:00
Randell Dawson
5a06b71ac4
fix: modified tests text ( #36169 )
2019-06-04 16:14:52 -04:00
Natalie Cardot
db1b435775
Fix spelling ( #36111 )
...
"hachedEgg" -> "hatchedEgg"
2019-05-22 17:42:44 -05:00
Varun
3a4402434b
fix(curriculum): Update challenge instructions ( #36104 )
2019-05-21 15:07:50 -07:00
Natalie Cardot
545b8a6f34
Modify if statement ( #36088 )
...
* Modify if statement
Change the solution so an empty string is returned when num is less than 1 rather than less than 0 for consistency with instructions.
* Add test
New test checks that if num is 0, an empty string is returned
* Fix test
Fixing errors in newly proposed test that checks that empty string is returned when num is 0
* Modify intermediate solution
Changing if statement in intermediate solution to check whether num is less than 1 rather than less than 0. (Also adding curly brackets to that solutions if/else statements.)
* fix: removed unnecessary assert message arguments
2019-05-20 21:08:20 -04:00
Natalie Cardot
39c43dbe8a
Alter instructions ( #36099 )
...
Removing the word "below" since the object's properties are shown to the right of, not below, the challenge description/instructions.
2019-05-20 19:11:17 -04:00
Tom
21118bc26a
fix/regex-lower-number-of-matches ( #36004 )
...
* fix/regex-lower-number-of-matches
* fix/update-guide
* fix/convert-blockquote-to-backticks
2019-05-17 23:53:00 +01:00
Randell Dawson
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
Randell Dawson
4b4762716c
fix(curriculum): Rewrote the Write Higher-Order Arrow Functions challenge and moved to Functional Programming section ( #35954 )
...
* fix: reworded and moved challenge
* fix: removed extra line
Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>
* fix; removed extra line
Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>
* fix: reworded sentence
Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>
2019-05-15 11:12:17 -05:00
Matt Schlosser
08c4807b09
Added missing `</code>` in test text string ( #36040 )
2019-05-14 10:06:55 +02:00
Tom
fc547999fd
fix/record-collection ( #36002 )
...
* fix/record-collection
* fix/remove-old-assert-messages
* fix/attempt-to-fix-build-error
* fix/attempt-to-fix-build-error
* fix/change-verbiage-and-tidy-up
* fix/remove-brackets-in-regex
2019-05-12 23:45:18 -04:00
Randell Dawson
7437145bb4
fix: improved existing tests ( #35801 )
2019-05-09 09:01:50 -04:00
Deanna Tran
338d7ee8a7
Change "rest operator" to say "rest parameter" in challenges and guide ( #35496 )
...
* change es6 challenges rest operator to param
* fix rest parameter typos
* change rest operator to parameter in guide
* fix casing
* change rest operator to rest parameter in guide
* change rest operator to rest parameter in curriculum
* remove extra whitespace
* remove whitespaces
* remove whitespace
* fix: removed arabic file
* fix: removed chinese file
2019-05-08 16:30:24 +02:00
Tom
93e5554615
fix: added semi-colon not in original code
...
Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>
2019-05-07 10:43:43 -07:00
Randell Dawson
5cfff58c7b
fix: added all js to end of 3 backticks
2019-05-07 10:43:43 -07:00
Randell Dawson
5cf039e5fd
fix: performed first conversions
2019-05-07 10:43:43 -07:00
Randell Dawson
1cb6092dd9
fix: performed first conversions
2019-05-07 10:43:43 -07:00
Oliver Eyton-Williams
cde8035b79
fix: add test for and slight rewrite to hazards of imperative ( #35331 )
...
* fix: add test for and slight rewrite to hazards of imperative
* fix: Resolve merge conflict
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/understand-the-hazards-of-using-imperative-code.english.md
Co-Authored-By: ojeytonwilliams <ojeytonwilliams@gmail.com>
* fix: Make the only mistake in seed the use of splice
2019-05-06 07:27:38 -05:00
Randell Dawson
a092c76688
fix: added 22 missing solutions ( #35747 )
2019-05-03 12:05:26 +02:00
Randell Dawson
365ce2ddc7
fix(curriculum): Added test and corrected solution for Restrict Possible Usernames challenge ( #35847 )
...
* fix: added test and corrected solution
* fix: removed redundant regex
Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>
2019-04-30 20:40:38 -05:00
Randell Dawson
3bff4151cf
fix: rewrote challenge instructions and tests ( #35899 )
2019-04-30 20:19:06 -05:00
Randell Dawson
7d7a1127a7
fix: remove comments before tests ( #35906 )
2019-04-30 19:26:07 -05:00
Randell Dawson
66398a9300
fix(curriculum): Improved the tests for Find the length of a String challenge ( #35940 )
...
* fix: split tests into two requests
* fix: removed typeof number check
Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>
* fix: remove unneeded After Test section
2019-04-30 19:12:22 -05:00
RIHANE ZAKARIA
6630b2be7a
bug fix / test of Spread Operator javascript challenge / english ( #35856 )
...
* bug fix test with the Spread Operator
* test of Spread Operator javascript challenge / english / change test and add a helper function
2019-04-30 18:37:26 -05:00
Randell Dawson
102c2b829a
fix: added 15 missing solutions ( #35745 )
2019-04-28 14:31:14 +05:30
Aly Pilkons
dae22c95c3
Edit Instructions Text To Make Goal Clearer ( #35887 )
...
* Edit Instructions Text To Make Goal Clearer
The instructions end with "using the object provided" which is unclear since the user is expected to create their own name for the object. Users may think they need to reference an object name and be confused when they do not find it. Reiterating that the user needs to create the name for the object themselves makes the task clearer.
* Updated commit based on comments
2019-04-26 18:33:04 +05:30
BSi
f8555c2f8b
Added the semicolon in the example provided ( #35898 )
2019-04-23 19:26:50 -04:00
Randell Dawson
54bc113721
fix(curriculum): Added 9 missing solutions to challenges in the Debugging section ( #35750 )
...
* fix: add 9 solutions to challenges
* fix: remove extra line
Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>
2019-04-19 00:14:20 +05:30
Randell Dawson
6a859ee7f9
fix: added 12 missing solutions to Basic Data Structure Challenges ( #35744 )
2019-04-10 21:03:15 +05:30
Guayo Mena
75293e649d
fix(curriculum): Fix test in Javascript challenge ( #35795 )
...
Fixes #35793
I rearranged the variables in one of the tests.
I just changed the english file. Should I change the rest of the languages as well?
Note: I did this change through github's API, because I couldn't run the project locally so I haven't actually tested it.
2019-04-10 20:55:05 +05:30
Randell Dawson
d5798c38de
fix: rewrite of word blanks challenge ( #35779 )
2019-04-10 01:48:01 -04:00
Manish Giri
c27dc72e4d
fix(curriculum): Improve Array Sort Challenge ( #35756 )
...
* fix(curriculum): Improve Array Sort Challenge
* Update note to include in challenge description
Co-Authored-By: Manish-Giri <manish.giri.me@gmail.com>
2019-04-07 13:42:38 +05:30
Kristofer Koishigawa
095188215f
fix(challenges): Regex Asterisk Challenge ( #34800 )
...
* fix(challenges): Fixes description and adds tests to close #17872 .
* fix(challenges): Removed unnecessary string arguments from testString
* fix: improved challenge instr and tests
2019-04-01 19:19:13 +05:30
Илья
a326c2cf9a
Make a comparison in the test more accurately ( #35500 )
...
* Update use-arrow-functions-to-write-concise-anonymous-functions.english.md
* refactor: fix the assert messages to make them more like all the rest in the curriculum (i.e. using `should`)
Co-Authored-By: iliyaZelenko <iliyazelenkog@gmail.com>
2019-04-01 10:55:43 +02:00
Amy Lam
914a7c522d
Copy edits ( #35536 )
...
* Copy edits to Basic JavaScript section
* Copy edits to ES6 section
* Update index.md
2019-03-29 22:06:58 +05:30
lucassorenson
b0565aa8d0
Update match-anything-with-wildcard-period.english.md ( #35696 )
...
A fix for issue #35089 , updated the examples in the description to use .test() instead of .match() to better reflect the challenge
2019-03-28 11:46:33 -07:00
Lipis
e84ae45008
Javascript -> JavaScript (English) ( #35183 )
...
* Javascript -> JavaScript (English)
* Update technical documentation page for required change
* Update use-class-syntax-to-define-a-constructor-function.english.md
* Update left-factorials.md
2019-03-28 14:05:41 +05:30
Randell Dawson
6c82a07b2d
fix: made destructuring test more flexible ( #35685 )
2019-03-27 23:59:53 +05:30
Justin Hilliard
8b5ef8cfdd
Fix(Curriculum): Constructor function not explained before ES6 #17865 ( #35463 )
...
* Fix(Curriculum): Constructor function not explained before ES6 #17865
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.english.md
Co-Authored-By: hilliarj <hilliarj@dickinson.edu>
* Update to #17865 PR
Fix(Curriculum): Constructor function not explained before ES6. Used an unordered list and the syntax that others recommended.
2019-03-26 09:53:19 -07:00
seanlaing
e4870c472a
fix/update-es6-destructor-challenge: Added test ( #35455 )
...
* fix/update-es6-destructor-challenge: Added test
- Added test incase during destructuring somebody pass and extra key
* fix/update-es6-destructor-challenge: Fixed the test case per review comments
-Cleaned up regex
- Setup two cases one where additional assignment of variables before and then after
- Did not put uppercase case CONSTANT checks because not related to question
* fix: corrected tests
2019-03-25 15:49:56 -05:00
Hrishit Prasad Biswas
4eb4afe53b
Fixed bug in 2nd test for Access Multi-Dimensional Arrays With Indexe… ( #35666 )
...
* Fixed bug in 2nd test for Access Multi-Dimensional Arrays With Indexes Challenge
* Fix for issue #35665
Fixed Bug In 2nd test case for Access Multi Dimensional Arrays With Indexes
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/access-multi-dimensional-arrays-with-indexes.english.md
Co-Authored-By: Artistic18 <hrishitbiswas20@gmail.com>
* fix: added missing ) for assert statement
2019-03-25 15:42:21 -05:00
Christine Gierer
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
Aditya
9cca21f57f
[Fix] Removed unnecessary IIFEs from ES6 challenges ( #34538 )
...
* feat: removed IIFE and added solution
* feat: updated challenges seed, test and solution
* style: removed semicolon
* feat: updated seed and solution
* feat: updated challenges seed and solution
* feat: updated test, seed and solution
* fix: added seed code to solution
* fix: removed function and added solution
* fix: removed makeClass function and fixed solution
* style: removed excessive semicolons
* Fixed spacing for note in instructions section
* fix: removed assert messages and used const
* fix: regex fails correctly now
2019-03-25 09:19:34 -05:00
Vikas KM
9e36ff87bb
changes to no validate comment ( #34810 )
...
* changes to no validate comment
Added single line comment check for regex to not validate.
* fix: corrected regex
* fix: changed + to *
2019-03-23 15:27:42 -04:00
Hugo
739f4a8850
fix: Update test for ES6 challenge ( #34300 )
...
* fix: es6 challenge test
* delete console.log
2019-03-21 10:50:30 +01:00
Timur
cab064a183
Fix tests for Basic JavaScript: Write Reusable JavaScript with Functions ( #34345 )
...
* Fix tests
- fix original log() method restoration
- fix case that other userscripts(or extensions) can affect console output and therefore can ruin the test
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/write-reusable-javascript-with-functions.english.md
allow function calling without semicolon
Co-Authored-By: T1mL3arn <T1mL3arn@users.noreply.github.com>
2019-03-21 11:50:23 +05:30
Chuck Adams
4b2219b01d
close #35246 - change AVG_TEMPERATURES to avgTemperatures in instructions ( #35537 )
2019-03-20 22:02:21 +01:00
grets311
2219a9a8dd
Update positive-and-negative-lookahead.english.md ( #34582 )
...
Update solution from w{5} to w{6} as exercise is to match at greater than 5 characters long.
2019-03-20 15:58:09 +01:00
Jade Michael Thornton
d5861edc84
add more specific tests for username regex challenge ( #34655 )
...
* add more specific tests for username regex challenge
* fix: removed unnecessary test
2019-03-19 15:21:30 -07:00
lasjorg
88a5d46ccb
fix(challenge): add support for IIFE arrow function ( #35573 )
...
* fix(challenge): add support for IIFE arrow function
* fix(challenge): update regex
2019-03-19 08:39:43 -07:00
NITIN BISHT
228d873dd3
Fix: remove quote from challenge where not needed [english] ( #35493 )
2019-03-19 15:04:03 +05:30
Randell Dawson
9051ad2eb5
Fixed bug allowing versions of Object.keys method and hard coding of ownProps array ( #35021 )
...
* fix: disallow variants of Object.keys method
* fix: added new test to help prevent hardcoding array
* fix: refactored regex
2019-03-17 18:47:41 -04:00
Lauren Van Sloun
ef86d7bd61
Fixed typo in JavaScript curriculum ( #34820 )
...
* Fixed typo in JavaScript curriculum
* Added missing period at end of sentence
2019-03-12 15:05:22 -07:00
lasjorg
494687f75e
fix: correct inconsistency in formatting ( #34721 )
...
* fix: correct inconsistency in formatting
* fix: remove space before parentheses
2019-03-12 13:49:54 -07:00
Randell Dawson
f6d07f37d7
fix: created more flexible test ( #35325 )
2019-03-08 11:07:50 -06:00
Lewis Horwood
38c99d7ff5
Simplify challenge wording ( #25120 )
...
* Simplify challenge wording
* Update use--to-import-everything-from-a-file.english.md
2019-03-06 18:57:43 -05:00
Alan Price
27a59c5418
fix: reworded text messages ( #27072 )
2019-03-06 18:30:58 -05:00
Akshay Tiwari
6d24b879f2
Update catch-mixed-usage-of-single-and-double-quotes.english.md ( #35532 )
2019-03-07 01:04:12 +05:30
Aashis kumar
960811e31f
Solution to specify-exact-number-of-matches.english JavaScript Challenge ( #34757 )
...
* Update specify-exact-number-of-matches.english.md
Added an explanation to the working code too
* fix: removed i flag and comments
2019-03-05 13:12:55 -05:00
Randell Dawson
8e5b99b8ca
fix(curriculum) Prevent 5th test from allowing invalid solution in Escape Sequences in Strings challenge ( #35367 )
...
* fix: prevent 5th test from allowing invalid code
* fix: added new test to not allow extra characters
2019-03-05 07:57:48 -06:00
Ihor Allin
6222b86133
Update understand-the-hazards-of-using-imperative-code.english.md ( #35052 )
...
Moved instructions into correct section.
2019-03-04 09:24:54 -06:00
Randell Dawson
99c7f28530
fix: remove <code> tags around word queue ( #35393 )
2019-03-04 09:12:29 -06:00
Luane
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
Christopher McCormack
421c097f17
feat: cleaned up grammar and formatting ( #35364 )
2019-03-02 00:25:09 +05:30
hilliarj
6cd3466f0b
fix(curriculum): Find Characters with Lazy Matching ( #35454 )
...
* fix(curriculum): Find Characters with Lazy Matching
* Update PR
Note is moved in the Description section and not the Instructions section
2019-02-28 13:33:07 -08:00
Ruchika Sharma
25f45ffc60
fix: Rename section in Modify array challenge ( #35430 )
2019-02-27 19:04:49 -05:00
Niraj Nandish
769ec3cb63
Make code consistent in challenge ( #19054 )
2019-02-26 16:38:46 -05:00
Pete
41ffe5a7e4
Adding-missing-challenge-solution ( #35025 )
...
* Adding-missing-challenge-solution
* updating solution as requested
added back in //solution required and removing console.log
* Adding-solution
* Update access-property-names-with-bracket-notation.english.md
* adding-solution
* Adding-solution
2019-02-26 03:44:33 -05:00
Aditya
665c9cb47f
fix: Object Oriented Programming: Use Dot Notation to Access the Properties of an Object ( #34675 )
...
* fix: typos
* fix: removed unnecessary assert message
2019-02-25 22:24:06 -05:00
geeseyj
f3fd951446
fix(coding): uncomment destructuring test and add solution ( #18909 )
...
* fix(coding): uncomment destructuring test and add solution
the test that ensured destructuring was being used had been left commented out and there was no solution offered. I uncommented the test and verified it worked as well as added the solution.
* fix: corrected partial solution to full
2019-02-25 23:27:50 +05:30
Chris Del
10e9c6f340
Update Higher-Order Arrow Functions code challenge ( #34414 )
...
* fix: update text of Write Higher Order Arrow to be more instructive
* fix: update tests and code to be more simple. Edit typos in text part. Prepare for PR
* fix: further changes to PR
* fix: checkout old head. Merge later commit with older commits
* fix: add MDN links to arrow-functions guide
* fix: re-add removed log and change working in guide wording
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/write-higher-order-arrow-functions.english.md
Yep
Co-Authored-By: chrisdel101 <arssonist@yahoo.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/write-higher-order-arrow-functions.english.md
Removing unneeded line for clarity
Co-Authored-By: chrisdel101 <arssonist@yahoo.com>
2019-02-24 13:34:53 +05:30
Randell Dawson
b83ab53047
[Fix] Corrected bug found in Shopping List challenge ( #35017 )
...
* fix: corrected bug found in issue #16044
* fix: account for empty strings
Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>
* fix: corrected wrong logic
2019-02-24 13:28:55 +05:30
Lewis Horwood
9cf283aab9
Add tests reflecting #19390 ( #19477 )
...
* Add test reflecting #19390
Added two tests to prevent checking only `Alan`.
* Split into 4 tests for each prop
Split previous tests with 2 props on each into 4 single-prop tests; fixed whitespace
2019-02-23 00:16:06 +05:30
TristanSeabrook
d8c8ee73a3
added apostrophe ( #35354 )
...
changed "keys" to "key's"
2019-02-22 03:12:23 -08:00
TristanSeabrook
7d9ef880c2
removed ungrammatical apostrophe ( #35353 )
...
Changed "array's" to "arrays".
2019-02-22 03:12:12 -08:00
Randell Dawson
37aa3172ea
fix: added missing & in text of tests ( #35341 )
2019-02-22 00:28:05 -05:00
Almaz Kunpeissov
4a7571492d
#35176 Remove reference to "backspace" regex ( #35186 )
...
Remove reference to "backspace" regex in example #35176
2019-02-22 10:50:51 +08:00
Niraj Nandish
cb35d49a21
fix(challenges): Fix broken links in English challenges ( #35125 )
2019-02-21 17:58:31 -05:00
Fordco
63c5423e4a
fix(curriculum): iterate with javascript do...while loops ( #35214 )
2019-02-21 17:25:54 -05:00
rupali317
5f6595b7dc
fix: use correct variables for challenge ( #34935 )
...
Deleted the sentence which refers a.start.x as an object, as it is not an
object
2019-02-20 22:00:21 -08:00
Lee
551c97feb1
Update: Added info re uppercase and lowercase ( #35094 )
...
* Update: Added info re uppercase and lowercase
Included information to explain that lowercase and camelCase can be used for const identifiers.
* Fix: corrected mutable to immutable
I corrected the error that uppercase is used for mutable values.
* Fix: changed ** ** to <strong></strong>
I changed the markdown ** ** to <strong></strong>, as I was informed that ** didin't work.
2019-02-19 23:12:46 -05:00
Randell Dawson
aa621a20b5
fix: removed unecessary guideUrl from frontmatter
2019-02-19 11:34:27 +03:00
Aashis kumar
80d66a9808
Update check-for-all-or-none.english.md ( #34758 )
...
Added Solution to the problem Change the regex favRegex to match both the American English (favorite) and the British English (favourite) version of the word.
2019-02-17 11:44:19 -05:00
Kirill Malev
bca4d896cc
Added solution to reuse-patterns-using-capture-groups.english.md ( #35144 )
...
* Update reuse-patterns-using-capture-groups.english.md
* included whole solution
2019-02-16 19:10:03 -08:00
Christopher Szczechowicz
994ee89a86
fix: add a ; to the end of the example code ( #34379 )
2019-02-16 19:20:10 +05:30
BurnhamG
a825708e3e
Correct seed code errors ( #32355 )
...
* Correct seed code errors
Corrects the problems raised in issue #13157 - campers can focus on solving the challenge rather than fixing bugs; functions have the correct return value now.
* Add single quotes to correct new assertion statements
* Fix incorrect usage of splice
Changed the parameters passed to bookList.splice in the remove function
* Remove extraneous tests
2019-02-14 13:24:38 -08:00
Beau Carnes
409c39abf1
feat(curriculum): Add Basic JS Scrimba links ( #34789 )
...
* feat(curriculum): Add Basic JS Scrimba links
* Fix: Add missing video url.
* fix: update videoUrl
2019-02-14 09:24:02 -08:00
Valeriy
99cf6090bd
fix(curriculum): getUserInput is not defined
2019-02-13 22:01:38 +00:00
Kirill Malev
661d10412f
Added solution to remove-whitespace-from-start-and-end.english.md ( #35145 )
...
* Update remove-whitespace-from-start-and-end.english.md
* includes whole solution now
2019-02-12 09:34:52 -08:00
Aashis kumar
b2e514d39f
A better solution to finders-keepers.english.md ( #34759 )
...
* Update finders-keepers.english.md
A better approach to finder's keepers problem
* A better appoach to solve finders-keepers (JS)
Fixed travis bug
* fix: indented solution code
2019-02-10 20:13:48 -08:00
lasjorg
9341aadb5b
Fix/remove property references and update tests ( #35109 )
...
* fix(challenges): Update challenge text and assertion test
* fix(challenges): update assert test regex
* fix(challenges): update regex, fix inline comment in code example
* fix: corrected regex
2019-02-09 00:47:53 -05:00
Julien Galibois Sauvageau
e8b7b2eb6f
Fixed typo ( #34848 )
...
Original wording: getHachedEggCount
New wording: getHatchedEggCount
2019-02-08 13:59:04 -08:00
Aditya
85eca8ef36
[fix]: Object Oriented Programming: Inherit Behaviors from a Supertype ( #35063 )
...
* fix: revert semicolon check
* fix: test name
2019-02-06 08:23:47 +03:00
Dom Coleman
9a4e13954a
Tests for OOP: Inherit Behaviors from a Supertype ( #34938 )
...
* Tests for OOP: Inherit Behaviors from a Supertype
Fixes issue #34905
* fix: make test inclusive
2019-02-05 20:44:53 +03:00
Luane
f2c3d635ef
Added solution to challenge "Regular Expressions: Match Characters th… ( #34668 )
...
* Added solution to challenge "Regular Expressions: Match Characters that Occur Zero or More Times"
* fix: removed necessary brackets
2019-02-05 08:03:19 -08:00
Chelsea Marie Hicks
8d7bd3906c
Grammar change and readability of example ( #30507 )
2019-02-05 21:14:05 +05:30
John Sprunger
7ae6577cda
Change for second test case ( #34785 )
...
Original: "Your code should create a method in Bird called getWeight that returns the weight".
New: "Your code should create a method in Bird called getWeight that returns the weight 15".
Since 15 is the only current passing value I feel it should be plainly stated instead in the test case.
2019-02-05 21:07:17 +05:30
rupali317
42bf229f59
fix: modified the test case such that the variable is a local scope o… ( #34959 )
...
* fix: modified the test case such that the variable is a local scope of the function
* fix: make test inclusive
2019-02-05 09:40:58 +03:00
Pepijnk12
ab4367a751
Update URL for 404 error ( #35042 )
...
* Update URL for 404 error
* fix: correct url
2019-02-04 13:34:47 +03:00
The Coding Aviator
90a9df1a5d
Fixed problem with regex in es6 import challenge ( #19718 )
...
import-a-default-export.english.md: support both main quoting styles
2019-02-03 18:07:55 +01:00
Paul Gamble
fabd45e1b4
Revert "Challenge - ES6: Use Destructuring Assignment to Assign Variables from Arrays - Added solution ( #26531 )" ( #34949 )
...
This reverts commit 23096f7ed6
.
2019-01-31 10:39:39 -08:00
Casey Bennington
7f9cbe982b
Add the solution ( #28899 )
...
* Add the solution
* Update divide-one-decimal-by-another-with-javascript.english.md
The solution was not passing. Change should pass now.
* Update divide-one-decimal-by-another-with-javascript.english.md
Co-authored-by: Paul Gamble <pgamble@gmail.com>
2019-01-25 11:10:44 -05:00
Casey Bennington
d2286fc3b5
Added solution ( #28907 )
...
LGTM!
2019-01-25 10:17:46 -05:00
Alan Price
1a6e1e57cc
Added solution ( #27077 )
2019-01-24 15:36:57 -05:00
Joe Erickson
6a777a9b16
Add solution to find more than one challenge ( #27476 )
2019-01-24 15:29:23 -05:00
Joe Erickson
13b3e3fa9b
Add solution to match whitespace problem ( #27470 )
...
* Add solution to match whitespace problem
* fix: corrected case of countWhiteSpace on line 61
2019-01-24 15:23:07 -05:00
Alan Price
23096f7ed6
Challenge - ES6: Use Destructuring Assignment to Assign Variables from Arrays - Added solution ( #26531 )
...
* added solution for challenge
* removed function from seed and solution
2019-01-24 14:24:27 -05:00
buhidar
589257cf02
Typo fix on line 11 ( #34922 )
2019-01-21 19:06:10 -08:00
The Coding Aviator
ca2d01a81c
feat(curriculum): add grouping characters challenge and guide ( #34875 )
...
Added new challenge for mixed grouping of characters
2019-01-17 22:08:46 +01:00
Valeriy S
9b75c1965a
fix(curriculum): replace window by self for js challenges
2019-01-16 10:45:39 +00:00
Alan Price
37d98f1123
Challenge - ES6: Write Arrow Functions with Parameters - Expanded description ( #25997 )
...
* Reworded and expanded the description
* renamed the function in the multiple param example
2019-01-09 11:00:16 +00:00
Nhat Khanh
e5756ae1d6
[Guide] Functional Programming: Sort an Array Alphabetically using the sort Method. Fixes and enhancements. ( #34678 )
2018-12-21 22:50:52 +05:30
Alan Price
d36922c496
Added solution ( #27127 )
2018-12-15 12:41:12 +05:30
Ashish Singh
ffce49d024
fixing typo for one of the challenges in es6 section for issue #34578 ( #34579 )
...
* fixing typo on UI
* changed tes string
* updated changes for issue #34578
2018-12-15 11:56:12 +05:30
Aditya
56ded4174c
[Fix] Object Oriented Programming: Remember to Set the Constructor Property when Changing the Prototype ( #34569 )
2018-12-14 19:59:35 +09:00
Adrian Skar
0af7ebad6d
[Curriculum] ES6: Prevent object mutation; fix minor typos ( #34650 )
2018-12-12 13:32:28 +00:00
Aditya
4145efc467
[fix] Test for Pass Arguments to Avoid External Dependence in a Function ( #34522 )
...
* feat: test works for => fns, added solution
* fix: moved solution
2018-12-04 20:50:19 +09:00
Alan Price
40f152ba15
Challenge - ES6: Use getters and setters to Control Access to an Object - Added solution and explanation of private variable naming convention ( #24362 )
...
* added explanation of private variable naming convention
* Added "Note:" to the front of the explanation
* Added solution
* Moved "Note:" to it's own line and made it bold
* fix: moved note block at the bottom
2018-12-03 19:10:09 +05:30
Ben Brown
929e0db633
fix(challenge): use-the-conditional-ternary-operator ( #19535 )
2018-12-03 14:19:57 +05:30
Ariel
2f23fb544d
Fixes minor typo ( #34326 )
...
"should not be be" changed to "should not be"
2018-11-29 02:28:48 +05:30
Aditya
254897c372
fix: fixed the test and added solution
2018-11-27 19:52:49 +09:00
Abhishek Kakade
f4f5ce4b85
fix: updated challenges text ( #34458 )
2018-11-27 02:05:14 +05:30
Aditya
a489ac9df8
fix(curriculum): Use the reduce Method to Analyze Data ( #34315 )
2018-11-22 20:14:31 +03:00
Aditya
8d593a1256
fix(curriculum): Create Strings using Template Literals ( #34296 )
2018-11-22 19:51:51 +03:00
Aditya
d9c6a13741
[Tests] ES6: Use Destructuring Assignment with the Rest Operator ( #34303 )
2018-11-22 22:27:16 +09:00
Mike Perry Yeboah Attara
74a5c8d15a
Fix inconsistent formatting of the welcomeToBooleans function ( #34373 )
...
fix the inconsistency in the formatting of the function and also fix issue #34367
2018-11-18 22:05:08 +05:30
Kenford20
7304bdc0af
Update description of pig-latin algorithm ( #21235 )
2018-11-12 16:13:49 +09:00
Greg Brewton
7a1256df79
Minor clarification ( #34250 )
...
(?=\D*\d) is looking for a non-number to precede a number. If '12Three' was passed in to test, it would not match though it matches the stated criteria of 5 character minimum length and two consecutive numbers.
2018-11-10 10:33:01 +05:30
mail-liam
86be0947b5
Updated tests for 'Iterate through an array with a for loop' to ES6 ( #19722 )
2018-11-08 22:02:21 +09:00
Prabhat Kumar Sahu
fa4117ae85
Solution write-higher-order-arrow-functions.english.md ( #18772 )
2018-11-07 20:37:01 +09:00
Carol W
54074a790c
fix: add additional tests for Regular Expression challenge ( #18696 )
...
fix(curriculum): add additional tests and solution for Restrict Possible Usernames challenge
2018-11-06 16:21:26 +03:00
The Coding Aviator
f4ff1d961d
Corrected wording in es6 challenge ( #19946 )
...
* Update compare-scopes-of-the-var-and-let-keywords.english.md
* Updated line
Co-Authored-By: thecodingaviator <34807532+thecodingaviator@users.noreply.github.com>
* Format the document
2018-11-05 12:58:36 -05:00
Eric Kao
8b21132cac
Fix line for Example ( #20713 )
...
* Fix line for Example
Bolded Example is inline with description. Added new line so that Example will have its own line (right before the actual example)
* Add line break after Description
2018-11-04 07:18:50 +05:30
Martin Payne
b63711fd83
Changed "match all the upper and lower a" to "match all the upper and lowercase a" ( #34171 )
...
This is just a simple grammar fix but I feel like upper and lowercase a reads better so it's worth making this change.
2018-11-03 07:21:39 +05:30
Shreyas BS
55686d7197
Updated grammar ( #20541 )
2018-10-30 22:58:51 -05:00
The Coding Aviator
b1da17a309
Update refactor-global-variables-out-of-functions.english.md ( #19751 )
2018-10-28 10:33:12 +07:00
Valeriy S
0aa6881508
test(curriculum): test suites must fail on the initial contents
2018-10-28 03:16:22 +05:30
Bannon Tanner
088b0ec458
added note about UpperCamelCase for ES6 classes ( #26979 )
...
* added note about UpperCamelCase for ES6 classes
proposed note in issue #17864
* added note as a new heading
changed from note as a sentence to note as a heading plus the actual note
* added <code> around SpaceShuttle
* removed markdown and added <strong> tag
2018-10-24 23:28:15 +05:30
Utkarsh Raj Singh
02206a2123
Modified the sort function ( #25978 )
...
Modification in the sort function to implement the better practice of returning 0 for the same elements. Not implementing the practice can break the function in new browsers.
2018-10-23 04:01:24 +05:30
Valeriy
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
Randell Dawson
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
Prabhat Kumar Sahu
d7810f6ab4
Update use-destructuring-assignment-to-assign-variables-from-nested-objects.english.md
2018-10-17 21:40:37 +09:00
Prabhat Kumar Sahu
c9a8b38ed3
Update use-destructuring-assignment-to-assign-variables-from-objects.english.md
2018-10-17 21:35:21 +09:00
Prabhat Kumar Sahu
6f09033346
Update use-the-spread-operator-to-evaluate-arrays-in-place.english.md
2018-10-17 21:31:51 +09:00
Prabhat Kumar Sahu
1a2843934f
Update write-arrow-functions-with-parameters.english.md
2018-10-17 21:03:53 +09:00
Prabhat Kumar Sahu
393489565e
Update use-arrow-functions-to-write-concise-anonymous-functions.english.md
2018-10-17 21:01:40 +09:00
greggubarev
345dfd6dad
Added </code> to test text ( #19498 )
2018-10-16 15:28:33 +01:00
greggubarev
d644a2f494
Add solution ( #19228 )
...
Add solution (https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/match-characters-that-occur-one-or-more-times )
2018-10-16 13:56:45 +05:30
Prabhat Kumar Sahu
e5ebcec171
Update declare-a-read-only-variable-with-the-const-keyword.english.md
2018-10-16 15:52:06 +09:00
Prabhat Kumar Sahu
9f98cdce3b
Solution prevent-object-mutation.english.md ( #18767 )
...
* Update prevent-object-mutation.english.md
* Improved JavaScript style
2018-10-15 21:04:52 -03:00
Prabhat Kumar Sahu
b13e23037c
Solution mutate-an-array-declared-with-const.english.md ( #18759 )
...
* Update mutate-an-array-declared-with-const.english.md
* Improved JavaScript style
2018-10-15 20:54:43 -03:00
Prabhat Kumar Sahu
1e3804889e
Solution compare-scopes-of-the-var-and-let-keywords.english.md ( #18756 )
...
* Update compare-scopes-of-the-var-and-let-keywords.english.md
* Improved JavaScript style
2018-10-15 20:51:56 -03:00
Prabhat Kumar Sahu
7d0212dfb8
Solution explore-differences-between-the-var-and-let-keywords.english.md ( #18752 )
...
* Update explore-differences-between-the-var-and-let-keywords.english.md
* Improve JavaScript style
2018-10-15 20:50:04 -03:00
Prabhat Kumar Sahu
6cb1a95c72
Solution use-multiple-conditional-ternary-operators.english.md ( #18750 )
...
* Update use-multiple-conditional-ternary-operators.english.md
* Update use-multiple-conditional-ternary-operators.english.md
* Improve JavaScript code style
2018-10-15 20:46:43 -03:00
petern
67cc558da6
Add solutions and update functional programming challenge instructions ( #18931 )
...
* feat: Update intro to currying
- Add solutions
- Add ES6 examples
* feat: Add solution to FP mutations
* feat: Add solution to function-programming map
- Add solutions, both vanilla and ES6 arrow functions
- Add JSON.stringify to console.log, makes it easier to see what the resulting output is rather than showing
e.g. [object, object, object]
* update: used the contributor's ES6 solution
Contributor originally had a non-ES6 solution and an ES6 solution. I removed the non-ES6 solution.
2018-10-15 16:43:02 -07:00