Commit Graph

3735 Commits

Author SHA1 Message Date
2f37b645f8 fix(seed): Update instruction (#16543)
* fix(seed): Update instruction

Update the instruction to pass the challenge

Closes #16268

* Minor grammar usage change
2018-01-21 18:58:39 -06:00
1e93d3d8ca fix(challenge): Remove the note about Safari in the HTML5 require (#16546) 2018-01-21 12:21:13 +05:30
235c77ed0d Turn Bootstrap relative URL into https URL (#16547) 2018-01-21 12:05:58 +05:30
43a132f64f docs(seed): Document how to edit and test challenges (#16511)
* docs(seed): Document how to edit and test challenges

add seed/README.md documenting scripts and schema for challenges
edit challenge-style-guide with mongodb id generation info

Closes #16373

docs(seed): add Ethan's video, apply PR feedback

* docs: fix up syntax highlight

While it was ideal to have ```json, its not really doing anything in terms of highlight. But, the side effect in diff is making the other parts really ugly and unreadable.

Hence fixing up.
2018-01-20 22:00:21 +05:30
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
601f08b6c2 fix(seed): Fix invalid MongoDB ObjectID in jquery seed (#16535)
In the `Introduction to jQuery' seed challenge there is a incorrect
MongoDB ObjectId. Created a new MongoDB ObjectId.

Closes #16523
2018-01-19 19:18:00 +05:30
47845755d3 feat(seed): Added Bright-Light app as a new home-assignment (#16513) 2018-01-19 00:19:07 -06:00
48b0b8c55c fix(seed): Change require pixel (#16500) 2018-01-19 00:03:57 +05:30
c2e057aadc fix(challenges): Add Project Euler problem 11 solution and tests (#16480)
Added tests and a working solution for Project Euler problem 11. Also added some styling to the problem's description to highlight four numbers in red to be more in-line with the description on the projecteuler.net.
2018-01-18 23:03:17 +05:30
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
27e716f4be fix(seed): added example breakdown to give more clarity to question (#16485) 2018-01-18 12:16:50 +05:30
e5a053302b fix(seed): fixed typo in question 6 code (#16482) 2018-01-18 12:12:50 +05:30
77808b0feb fix(seed): Typos in testing code (#16515)
Just formatting issues - missing quote, unescaped quotes in strings and
fixed a typo by moving code chars out of string literals.
2018-01-17 23:10:50 -05:00
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
6e3fb92c9b Merge pull request #16437 from scissorsneedfoodtoo/feature/euler-problem-22
feat(challenges): Add Project Euler problem 22
2018-01-17 12:06:23 +05:30
054dd8b4f6 Merge pull request #16442 from iabrenne/feature/link-to-guide
Feature/link to guide
2018-01-16 12:52:03 -08:00
e583de3682 Merge pull request #16481 from lgrzybowski/fix/remove_star_from_map
fix(map): Removed required sign from challenges
2018-01-16 09:03:25 -08:00
65a37c32dc Merge pull request #15856 from AungMyoKyaw/feat/eluer-prob-4
feat(euler-problem): Add tests and solution for Problem 4: Largest palindrome product
2018-01-16 08:13:31 -08:00
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
0f73022cfd fix(seed): Eliminate regex bug for async assertions (#16341) 2018-01-16 11:25:20 +05:30
2e92368396 fix(seed): Space between function name and parameters was not (#16324) 2018-01-15 22:08:36 +05:30
cdd9c54192 fix(challenges): Add tests and solution for Euler Problem 10 (#16431)
Added tests and working solution for Euler Problem 10.
2018-01-15 11:37:56 +05:30
c79068e058 fix(challenges): Add tests and solution for Euler problem 5 (#16421) 2018-01-15 11:36:42 +05:30
3e1fea9bdb fix(map): Removed required sign from challenges
Closes #16239
2018-01-14 20:17:45 +01:00
3c266b2663 feat(euler-problem): Add Test and solution for euler problem 9 (#16029)
* feat(euler-problem): Add Test and solution for euler problem 9

* style: Fix up formating per comments
2018-01-11 21:22:04 -05:00
3b291b26ef fix(euler): Fixed broken build 2018-01-12 04:09:37 +05:30
36612f023a feat(euler-problem): Add tests and solution for Problem 4: Largest palindrome product 2018-01-12 03:52:28 +05:30
5230817dd8 fix(challenges): improved instructions for anchor element challenge
Text and external links. Image was not clear in explaining the
composition of anchor tags.

Closes #16289
2018-01-12 02:25:52 +05:30
98d27c16c1 refactor(seed): Add link to guide
Partially #16388
2018-01-10 18:32:16 -06:00
ecc2c9f2f0 fix(seed): Fix label
Closes #16456
2018-01-09 16:10:27 -06:00
453f33caa7 chore(seed): Refactoring to use logger (#16443) 2018-01-08 13:08:29 +00:00
1c9dd4dba2 fix(seed/challenges): Correct typo in a JavaScript challenge (#16441) 2018-01-08 10:53:55 +05:30
9a4623eef3 feat(challenges): Add Project Euler problem 22
Noticed that problem 22 was missing from the seed file and decided to
add it along with some additional tests. However, I didn't include a
solution because I would have had to repeat the entire names array in
the solution string.

BREAKING CHANGE: None
2018-01-07 19:46:33 +09:00
ac0883f208 feat(seed): Added more assertions for project euler (#16079) 2018-01-05 18:50:03 +05:30
5ba1da5e2c fix(challenges): Clarified instructions on es6 let challenge (#15983) 2018-01-04 10:58:30 +00:00
3fdce08890 feat(challenges): Added pong game as a take home project (#16400) 2018-01-03 17:15:55 -06:00
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
ac37176d1b style(challenges): Style changes and added solutions (#16372)
Renamed some of the functions in the challengeSeeds/tests, and added a
couple of solutions.

BREAKING CHANGE: None
2018-01-01 17:33:18 -06:00
4690532ecc Merge pull request #16375 from saurishkar/fix/system-design-arraymap-ques2
fix(seed): fixed correct answer typo in explanation of question 2
2018-01-01 12:55:49 -08:00
575f366cad fix(seed): fixed correct answer typo in explanation of question 2 2017-12-30 16:51:16 +05:30
ab08420ec2 fix(challenges): Fixed import export related challenges
Closes #16235
2017-12-29 18:38:22 -08:00
9dc3073003 fix(seed): Best practice for radio button (#16349) 2017-12-30 00:27:38 +05:30
2df89dab95 fix: Make semicolon optional (#16364) 2017-12-29 14:56:52 +00:00
222b520657 feat(challenges): Added challenge stubs including pre-formatted solu (#16339) 2017-12-28 00:47:16 -06:00
3d3a3343ba feat(seed): Added more assertions for Project Euler Problem (#15953) 2017-12-26 15:10:39 +05:30
ffc03dcdf6 feat(seed): Added more assertions for Project Euler Problem (#15952) 2017-12-26 15:10:11 +05:30
0ee6572a86 feat(seed): Added more assertions for Project Euler Problem (#15950) 2017-12-26 15:09:32 +05:30
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
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
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