101 Commits

Author SHA1 Message Date
geeseyj
f3fd951446 fix(coding): uncomment destructuring test and add solution ()
* 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 ()
* 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 ()
* fix: corrected bug found in issue 

* 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 ()
* Add test reflecting 

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 ()
changed "keys" to "key's"
2019-02-22 03:12:23 -08:00
TristanSeabrook
7d9ef880c2 removed ungrammatical apostrophe ()
Changed "array's" to "arrays".
2019-02-22 03:12:12 -08:00
Randell Dawson
37aa3172ea fix: added missing &amp; in text of tests () 2019-02-22 00:28:05 -05:00
Almaz Kunpeissov
4a7571492d Remove reference to "backspace" regex ()
Remove reference to "backspace" regex in example 
2019-02-22 10:50:51 +08:00
Niraj Nandish
cb35d49a21 fix(challenges): Fix broken links in English challenges () 2019-02-21 17:58:31 -05:00
Fordco
63c5423e4a fix(curriculum): iterate with javascript do...while loops () 2019-02-21 17:25:54 -05:00
rupali317
5f6595b7dc fix: use correct variables for challenge ()
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 ()
* 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 ()
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 ()
* 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 () 2019-02-16 19:20:10 +05:30
BurnhamG
a825708e3e Correct seed code errors ()
* Correct seed code errors

Corrects the problems raised in issue  - 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 ()
* 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 ()
* 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 ()
* 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 ()
* 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 ()
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 ()
* 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 ()
* Tests for OOP: Inherit Behaviors from a Supertype

Fixes issue 

* fix: make test inclusive
2019-02-05 20:44:53 +03:00
Luane
f2c3d635ef Added solution to challenge "Regular Expressions: Match Characters th… ()
* 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 () 2019-02-05 21:14:05 +05:30
John Sprunger
7ae6577cda Change for second test case ()
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… ()
* 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 ()
* 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 ()
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 ()" ()
This reverts commit 23096f7ed625b78409d6f0f798c9579521adfa14.
2019-01-31 10:39:39 -08:00
Casey Bennington
7f9cbe982b Add the solution ()
* 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 ()
LGTM!
2019-01-25 10:17:46 -05:00
Alan Price
1a6e1e57cc Added solution () 2019-01-24 15:36:57 -05:00
Joe Erickson
6a777a9b16 Add solution to find more than one challenge () 2019-01-24 15:29:23 -05:00
Joe Erickson
13b3e3fa9b Add solution to match whitespace problem ()
* 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 ()
* 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 () 2019-01-21 19:06:10 -08:00
The Coding Aviator
ca2d01a81c feat(curriculum): add grouping characters challenge and guide ()
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 ()
* 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. () 2018-12-21 22:50:52 +05:30
Alan Price
d36922c496 Added solution () 2018-12-15 12:41:12 +05:30
Ashish Singh
ffce49d024 fixing typo for one of the challenges in es6 section for issue ()
* fixing typo on UI

* changed tes string

* updated changes for issue 
2018-12-15 11:56:12 +05:30
Aditya
56ded4174c [Fix] Object Oriented Programming: Remember to Set the Constructor Property when Changing the Prototype () 2018-12-14 19:59:35 +09:00
Adrian Skar
0af7ebad6d [Curriculum] ES6: Prevent object mutation; fix minor typos () 2018-12-12 13:32:28 +00:00
Aditya
4145efc467 [fix] Test for Pass Arguments to Avoid External Dependence in a Function ()
* 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 ()
* 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 () 2018-12-03 14:19:57 +05:30