Tim dinia
c331b12413
fix(curriculum): correct typo in nest one array within another array challenge instruction ( #37851 )
2019-11-29 10:07:51 +01:00
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 b24968a96810f618d831410ac90a0bc452ebde50.
* 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