254 Commits

Author SHA1 Message Date
Dylan
5ba1da5e2c fix(challenges): Clarified instructions on es6 let challenge (#15983) 2018-01-04 10:58:30 +00:00
Timo
edc37e76d3 fix(seed): Fix quotient should only be assigned once test
The tail is no longer included in the code variable. I updated this test
to account for that

Closes #16329
2018-01-02 23:56:13 +05:30
Nick Karnik
ab08420ec2 fix(challenges): Fixed import export related challenges
Closes #16235
2017-12-29 18:38:22 -08:00
Niko
2df89dab95 fix: Make semicolon optional (#16364) 2017-12-29 14:56:52 +00:00
Ethan Arrowood
524918fc84 Refactor ES6 Challenges (#16262)
* fix(challenges): Add function scope of use strict

Refactored first 13 challenges with function scope `"use strict";`
syntax

Closes #16254

fix(challenges): Refactor ES6 challenges

Refactored ES6 challenges up to 22 to use function scope `"use strict";`

test(challenges): QA ES6 Challenges

Refactored es6 challenges getting tested and QA'd

fix(challenges): QA remaining ES6 challenges

* refactor(challenges): Quick edit for ES6 challenges

More changes to come. This commit solves issues addressed by Quincy

* refactor(challenges): ES6 Textual refactor

Textual refactor. Improved challenge test messages to be more
explanatory
2017-12-22 22:17:05 -06:00
Kristofer Koishigawa
3583633a39 fix(seed/challenges): Change cash register algorithm (#16244)
Edited the description and tests so that freeCodeCamp users learn to
write functions that return a similar data structure type each time.

BREAKING CHANGE: None.

Closes #16083
2017-12-22 22:15:16 -06:00
Ethan Arrowood
ef9e2f498e test(challenges): Test ES6 challenge (#16201)
* test(challenges): Test ES6 challenge

Added tests to 3rd ES6 challenge

* test(challenges): ES6 challenges

* test(challenges): ES6 chall c11-c15

* test(challenges): ES6 chall c16-c20

* test(challenges): ES6 chall c21-c27

* test(challenges): Refactor ES6 challenges

Update tests to use getUserInput. Remove test for arrow function use

Closes #16207

* test(challenges): Fix falsey case

Add proper getUserInput syntax for !code.match tests

Closes #16207

* test(challenges): QA ES6 Challenges

QA and edit for ES6 challenges 1 - 18

Closes #16207
2017-12-21 14:38:28 -06:00
Jonathan Grah
43abd79788 feat(cert): Certificates (#16185)
* feat(cert): finished layout and design of legacy certificates

* feat(cert): added new certs

* feat(cert): added logic for new certs

* feat(cert): updated claiming challenges

* feat(cert): fixed various small issues

* feat(cert): completed suggested changes
2017-12-20 19:15:23 -06:00
Jonathan Grah
de53301903 Merge pull request #16199 from QuincyLarson/feature/add-algorithm-projects
feat(seed): Move required projects into new algorithm projects
2017-12-20 19:09:31 +00:00
mpontus
30866d5afe fix(seed): Update description for basic-javascript/word-blanks (#16206)
Pulling changes from commit 54c11a0de9436935cb26f74324354d76d5f20939
2017-12-19 15:46:30 -06:00
Quincy Larson
fc8a7cc07e feat(seed): Move required projects into new algorithm projects 2017-12-15 15:22:19 -06:00
Sunny
7879f3183a feat(challenges): Adds do...while challenge to basic JS challenges (#16068)
* feat(challenges): Adds do...while challenge to basic JS challenges

Closes #14948

* fix: Update id for challenge in correct format
2017-12-15 10:14:22 -06:00
rcohane
d23e3978ed fix(challenges): Fix 'only subtract one number' test (#16173)
Closes #13103
2017-12-12 02:07:40 +05:30
Colin Thornton
d0ca7ff2cf chore(seed/challenges): Change misleading variable name in example
Changed variable named "thisVariableNameIsTooLong" to
"thisVaribaleNameIsSoLong"

Closes #16165
2017-12-09 21:04:01 +05:30
Will Garcia
d4ad420cf4 fix: add 2nd regex check for bracket notation 2017-12-09 12:40:44 +05:30
scissorsneedfoodtoo
744476404c fix(challenges): Change regular expressions match characters that o
Originally the challenge's example code was a little unclear about what
the * character does. Also, the challenge could be solved without using
the * character.

BREAKING CHANGE: None

Closes #16119
2017-12-03 00:18:30 +09:00
manish-giri
7977430316 fix(challenges): Improve description in existing object challenges 2017-11-01 10:28:47 +05:30
mrugesh mohapatra
a4526f906e Merge pull request #15751 from DusanSacha/feature/add-basis-js-challenge-return-undefined
feat(seed): Add new Basis JS Challenge Return Undefined
2017-10-20 19:58:31 +05:30
Edward Weymouth
727e6d34f7 fix(seed-update): browser console, fCC Console, functionality of both (#15660) 2017-10-17 13:41:46 -04:00
Manish Giri
76d73479ba fix(challenges): Improve Word Blanks on staging (#15901) 2017-09-21 13:11:31 -05:00
Dylan
08f01a6f32 Merge pull request #15794 from Bouzmine/fix/dot-notation
Change "dot operator" to "dot notation"
2017-09-15 21:19:25 -05:00
Francis Clavette
d8bcb0f731 refactor(challenges): Change dot operator to notation 2017-09-15 19:54:49 -04:00
Shubham Sharma
fbce073fb2 fix(challenges): Improve wording of description (#15873)
changed the description of the challenge to make campers understand the
task better

Closes #14306
2017-09-11 17:55:58 -05:00
DusanSacha
e863759e29 feat(seed): Add new Basis JS Challenge Return Undefined
Add new Bassis JS Challenge Return Undefined with all Change Requests
2017-09-04 14:15:38 +02:00
Dylan
3bf076bed8 fix test on es6 export default (#15627) 2017-09-04 10:16:50 +02:00
Beau Carnes
a26309a2a3 Merge branch 'feat/object-freeze-challenge' into staging 2017-09-01 19:18:01 -07:00
Beau Carnes
a9bbfec4d4 fix(seed): Fix typos 2017-09-01 19:15:29 -07:00
Beau Carnes
784ca43e11 Merge branch 'feature/object-freeze-challenge' of https://github.com/adityaparab/FreeCodeCamp into adityaparab-feature/object-freeze-challenge 2017-09-01 18:58:57 -07:00
Berkeley Martinez
286f362c25 Merge pull request #15373 from dhcodes/fix/tests-inc-dec
change tests to reflect desired solution
2017-09-01 18:15:32 -07:00
Timo
890a262d00 refactor: Replace .com with .org 2017-08-26 00:07:44 +02:00
Manish Giri
f44c2d6ffd feat(challenges): Add Strict Equality examples challenge (#15784) 2017-08-22 22:56:49 -05:00
Darth Skywalker
fd42d1eb5a feat(challenge): Added Object.freeze challenge wrt #15746 2017-08-13 00:19:13 +05:30
Eric Leung
5522c64172 fix: Clarify mutate array with const challenge (#15745)
Instructions for Mutate an Array Declared with const was unclear and
included unnecessary learning materials. This commit aims to clarify the
instructions for what the challenge requires, and also add in missing
challenge tests.

Closes #14832
2017-08-11 15:06:35 -05:00
Eric Leung
d01d3093c3 Merge pull request #15742 from dhcodes/fix/code-styling-on-switch
fix(challenges): Change switch code format for consistency
2017-08-08 10:44:57 -07:00
Dylan
6a496adca9 Merge pull request #15744 from usmandap/fix/longest-word-in-string
fix(seed): Function name findLongestWord changed
2017-08-08 08:40:52 -05:00
dhcodes
3479d835cc fix(challenges): Change switch code format for consistency
Closes #14947
2017-08-07 23:02:44 -05:00
Milo Hartsoe
450267e22d fix(seed, challenges, 02-javascript-algorithms-and-data-structures, basic-javascript.json, Golf Code): Adds an array of the names to the Golf Code challe (#15678)
This adds an array of names for the Golf Code challenge and adds a
sentence about the array to the description of the challenge.

Closes #15618
2017-08-05 13:33:16 -05:00
Usman Hussain
655366692f fix(seed): Function name findLongestWord changed
The function name findLongestWord is a little misleading as the
challenge asks to return the length of the word not the word itself.
Name findLongestWordLength is perfect.

BREAKING CHANGE: Function name changed
2017-08-03 11:25:45 +05:00
Dylan
dc048c21c8 Merge pull request #15670 from prateekgoel/fix/move-fahrenheit-variable
Move Fahrenheit Variable Below Comment Line
2017-08-01 11:22:23 -05:00
Prateek
c06fd79f87 Changes post review again 2017-08-01 01:31:51 +05:30
Prateek
380491784e Changes post review 2017-08-01 01:30:24 +05:30
MANISH-GIRI
e9f141ed44 Add check for function invocation 2017-07-22 16:18:30 -04:00
Jonathan Meier
14bcb00323 refactor(seed): Add break; to default statement on switch challeng (#15673)
Closes #15131
2017-07-22 01:30:22 -05:00
Prateek Goel
27262eb9f7 Move Fahrenheit Variable Below Comment Line
Challenge URL: https://www.freecodecamp.org/challenges/convert-celsius-to-fahrenheit
2017-07-20 16:37:36 +01:00
Dylan
190fa94c54 Merge pull request #15098 from charlesBak/fix/arrow-function-with-param
Add test to Arrow functions with input parameters
2017-07-16 21:21:27 -05:00
Shubham Sharma
5baec5e56a fix(challenges): Change "loop" to "function" (#15649) 2017-07-15 22:42:00 +05:30
Luke Bousfield
d53bf65746 Added a test to the challenge 'Wherefore art thou' 2017-07-02 09:22:17 -04:00
Eric Leung
b2a95c7deb Merge pull request #15515 from dakshshah96/fix/reuse-patterns-tests
Fix test and clarify description for reuse patterns using capture groups
2017-07-01 10:50:41 -07:00
Stephanie Adams
5fe26ba20e Fix typo in test case for filteredArray 2017-06-30 19:09:35 -04:00
tommy
e1f6eea881 fix/Clarification for code example
Clarification needed for Functional Programming code example, in the challenge Add Elements to the End of an Array Using concat Instead of push
2017-06-26 16:28:24 -07:00