269 Commits

Author SHA1 Message Date
Jason Kao
102a233e69 feat(seed): Added ES6's strict mode to a lesson and made verbiage clearer (#16652) 2018-02-08 18:16:18 +05:30
Zuzana
6337592b99 fix(seed): Fix Modify Array challenge description typo (#16662) 2018-02-08 11:49:51 +05:30
Neenad Ingole
b36ba2cc99 fix(seed): Typo correction to es6.json in javascript challeng (#16589)
Closes #16584
2018-01-28 13:18:09 +05:30
mrugesh mohapatra
62c5720d9b Merge pull request #16573 from tarun7singh/fix/relative-protocol-URLs
fix(URLs): Changed protocol relative URLs to HTTPS URLs
2018-01-26 01:38:11 +05:30
Tarun Singh
8b5b0f338a fix(URLs): Changed protocol relative URLs to Https URLs
BREAKING CHANGE: None

Closes #16522
2018-01-25 20:11:01 +05:30
Timo
04c1ac1815 test(challenges): Add missing tests to escaping quotes challenges (#16566)
These tests were removed because there were issues with the head and
tail being added to the code variable. Now that they've been removed, we
can add the tests back in.
2018-01-24 23:35:32 +00:00
ATLowther
32930c9ed7 fix(challenges): Change invalid ObjectId
Closes #16550
2018-01-24 17:24:35 +01:00
A-J Roos
b75d7ae128 fix(seed): Fix invalid MongoDB ObjectId in array seed challenge (#16532)
In the `Introduction to Arrays` seed challenge there was a
incorrect MongoDB ObjectId. Created a new MongoDB ObjectId
that fixes it.

Closes #16530
2018-01-19 19:26:02 +05:30
adityajoshi
f166d4c464 fix(seed/challenges): Update test code for escaping quotes in literal strings (#16476)
Closes #16344 
Closes #16332
2018-01-18 22:50:47 +05:30
Sagar Jha
6307c0f04b fix(seed): Change variable name from array to args (#16472)
Changed variable name from array to args. It will validate the last validation. Particular variable name is required but it is not mentioned in description.

Closes #16351
2018-01-18 00:45:19 +05:30
Berkeley Martinez
054dd8b4f6 Merge pull request #16442 from iabrenne/feature/link-to-guide
Feature/link to guide
2018-01-16 12:52:03 -08:00
Niko
c98b964606 refactor: Basic Algorithm Scripting (#16365)
Change var to let/const.
Change some single quotes to double quotes to be consistent. (Most were using double quotes)
Change callback functions to use ES6 arrow syntax.
Add function call to solution to be more consistent. (Some were present already)
Remove comments from solution to be more consistent. (Most didn't have comments)
2018-01-16 11:50:31 +05:30
Sagar Jha
2e92368396 fix(seed): Space between function name and parameters was not (#16324) 2018-01-15 22:08:36 +05:30
Irina Brennen
98d27c16c1 refactor(seed): Add link to guide
Partially #16388
2018-01-10 18:32:16 -06:00
Iván Munguía
1c9dd4dba2 fix(seed/challenges): Correct typo in a JavaScript challenge (#16441) 2018-01-08 10:53:55 +05:30
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