Commit Graph

3655 Commits (fed17f70b92dd42d69ffc8759506c23725efc533)

Author SHA1 Message Date
Kristofer Koishigawa 2eafac5989 fix(seed): Add tests and solution for Project Euler 19 (#16694)
Added additional tests and a working solution for this problem.

BREAKING CHANGE: None
2018-02-15 09:11:54 +00:00
Kristofer Koishigawa 9ae25664b5 fix(seed): Add tests, solution, and edit description for Project Euler 16 (#16641)
Edited the description so the exponents are displayed properly, and
added more tests and a solution.

Amend: Edited the seed so that the challenge function in the seed is called only once.

BREAKING CHANGE: None
2018-02-15 09:06:41 +00:00
Kristofer Koishigawa 38cee8bce5 fix(challenges): Add tests and solution for Project Euler problem 17 (#16685)
Added a couple of additional tests and a working solution for this
problem.

BREAKING CHANGE: None
2018-02-15 09:04:01 +00:00
Kristofer Koishigawa 748b257234 fix(seed): Add tests, solution, and image for Project Euler problem 15 (#16626)
Added more tests, a solution, and an image to make the description more
clear. The image is from Project Euler but is rehosted on imgur.

Amend: Edited the seed so that the challenge function in the seed is called only once.

BREAKING CHANGE: None
2018-02-15 09:02:17 +00:00
Nguyen Quoc Bao 1789f9da0a fix(seed): Add length check for component find (#16678)
Closes #16677

fix(seed): Use triple equal
2018-02-14 17:50:38 +00:00
Jason Kao 09689be107 fix(seed): Removed inconsistent and unnecessary ReactDOM.rend (#16711) 2018-02-14 22:25:05 +05:30
Schalk Neethling 5fbf769e1b fix: language update suggestions for basic-css and basic-html (#16713) 2018-02-14 16:24:21 +00:00
Samuel Coe 9f63625411 fix(seed): Replaced 'include' with 'match' and RegExp for the (#16700)
Closes #16698
2018-02-14 11:24:25 +00:00
Eduardo Azeredo Massarani f3300546f6 update test for media query challenge (#16691)
the test fails if there is no space between @media and the parenthesis, even though it is possible to not have a space. Also it doesn't tell you that that is the problem, so it can make the person get stuck trying to figure out what they did wrong, when in fact they were right, like I was for half an hour until I came here to check the test =)
2018-02-14 11:21:14 +00:00
Akshat Harit e3027dc3cc fix(challenges): Fix animation-timing-function default from linear (#16690)
Closes #16684
2018-02-14 11:19:32 +00:00
Kristofer Koishigawa 47ca691a14 fix(seed): Add tests for Project Euler problem 13 (#16617)
Added a head property to the challenge object and moved the large fiftyDigitNums array to it, preventing the browser from having to re-render it with every keystroke and causing lag. Also fixed a problem where the testNums and fiftyDigitNums arrays were not declared with const properly in my original PR.

BREAKING CHANGE: None
2018-02-14 10:55:21 +00:00
Ahmad Abdolsaheb 007b68ecf8 fix(seed): Typo in test message (#16708) 2018-02-13 20:13:42 +05:30
Nguyen Quoc Bao 71974d6972 fix(seed): Add default values to incompleted declarations (#16704)
Closes #16696

fix(seed): Fix undefined render
2018-02-13 11:45:12 +00:00
Schalk Neethling 5c8b512168 fix: small language update suggestion for basic css (#16706) 2018-02-13 09:46:48 +00:00
Schalk Neethling 77b7b17096 Language update suggestions for basic HTML curriculum (#16697)
* Language update suggestions for basic HTML curriculum

* fix: Changes based on review feedback
2018-02-12 12:30:43 +00:00
Kristofer Koishigawa 43eaff2957 fix(seed): Add tests and solution for Project Euler 14 (#16621)
Added tests and a working solution for problem.
2018-02-10 21:13:22 +00:00
Matthew Brener 0bb658078f feat(seed): Fix attribute selector grammar error (#16676)
Changed the word "style" to "styles"

Closes #16675
2018-02-10 09:23:12 +00:00
Quincy Larson 0904f856bf fix(seed): Make algorithm projects appear after intermediate algorithms (#16655)
* fix(seed): Make algorithm projects appear after intermediate

* fix(seed): Update order values to remove ambiguity
2018-02-10 09:20:59 +00:00
Jason Kao 3289f9e1d5 feat(seed): Added ES6's strict mode to a lesson and made verbiage clearer (#16652) 2018-02-08 18:16:18 +05:30
Zuzana 99afe980dc fix(seed): Fix Modify Array challenge description typo (#16662) 2018-02-08 11:49:51 +05:30
Jason Kao 30182c9304 fix(seed): strengthened buggy regex in an Applied Accessibility test (#16653)
Closes #16645
2018-02-08 11:48:29 +05:30
Jason Kao 51ce73ed2e test(seed): Tests now send string values into input, not number (#16639)
Closes #16636
2018-02-08 11:36:42 +05:30
jpdail01 a78b2a4f33 Select div by element instead of by class to test background-color (#16638) 2018-02-08 11:32:57 +05:30
Nguyen Quoc Bao 546e30ac3a fix(seed): Fix solution doesn't pass for challenge "React: Use Advanced JavaScript in React Render Method" (#16631)
Closes #16629
2018-02-08 11:23:20 +05:30
Ahmad Abdolsaheb 4cd7be48dc fix(seed): Make tests accepts all correct answers (#16627)
the test and challenge seed has changed

Closes #16516
2018-02-08 11:17:31 +05:30
David Golightly 9203192a21 fix(challenges): Add more examples of text-align CSS property (#16624)
Closes #16446
2018-02-08 00:37:17 +05:30
Tarun Singh e1d5cb6405 fix(seed): Squashed a bug from Disable an element using Jquery 2018-02-06 15:53:07 +00:00
Jason Kao e0b1ecec35 fix(seed): Fixed disruptive, unclosed <code> tag (#16594)
Closes #16581
2018-02-06 10:18:11 +00:00
Nguyen Quoc Bao 195653a2ef fix(seed): Add missing bindings outside comment lines (#16585) 2018-02-05 23:18:10 -05:00
Huyen Nguyen b2e58ab212 fix(challenges): Fix typos in some project Euler problems (#16605) 2018-01-31 01:37:20 +05:30
Neenad Ingole 58eafb4d9b fix(seed): English error in Basic HTML and HTML5 challenge (#16608) 2018-01-31 01:35:11 +05:30
Juraj Majerik fc95bcb667 fix(seed): Fix typo in test of Mongoose dependency (#16606)
Closes #16604
2018-01-30 22:20:48 +05:30
Anh Tran 79d9335977 fix(seed): Add test cases for closing tags (#16575) 2018-01-30 11:09:39 +05:30
Ahmad Abdolsaheb 7871fad1b3 fix(seed): Expand description of media query challenge (#16572)
example change to make it more clear

Closes #16474
2018-01-30 11:00:10 +05:30
Stuart Taylor 4ce84166ed Validate ObjectId on test (#16579)
* feat(challenges): Validate ObjectId on test

* fix(challenges): Fix 'id' field typo
2018-01-29 10:11:27 -06:00
Neenad Ingole f13f0be26d fix(seed): Change Line Number & Typo (#16586)
Line number in the problem is corrected to 52 which was previously 38
and spelling mistake of 'compponent' is changed to 'component'

Closes #16567
2018-01-28 17:37:37 +05:30
Kristofer Koishigawa 20b46cc6c4 fix(challenges): Add tests for Project Euler problem 12 (#16545) 2018-01-28 13:22:50 +05:30
Neenad Ingole c3f768417e fix(seed): Typo correction to es6.json in javascript challeng (#16589)
Closes #16584
2018-01-28 13:18:09 +05:30
mrugesh mohapatra 4346de64f3
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 90ba46f6f0 fix(URLs): Changed protocol relative URLs to Https URLs
BREAKING CHANGE: None

Closes #16522
2018-01-25 20:11:01 +05:30
Timo fff0dd5a66 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
A-J Roos 35be15dfc2 test(seed): Check for both opening and closing footer tags (#16542)
Currently the test is only checking for the opening footer tag. This
proposed change would make it that the test checks for both the opening
and closing footer tags.

Closes #16416
2018-01-24 23:33:58 +00:00
ATLowther 528d856405 fix(challenges): Change invalid ObjectId
Closes #16550
2018-01-24 17:24:35 +01:00
Berkeley Martinez 20a3363d39
Merge pull request #16479 from lgrzybowski/fix/change_NA_to_blank_when_no_estimation
fix(map): Removed NA text for challenge without time estimat
2018-01-23 18:59:30 -08:00
Diogo Righi bb1e0c4539 fix(challenges): Fix test on react challenge that was always passing (#16558) 2018-01-23 20:16:57 -05:00
Lukasz Grzybowski f3d87d6e73 fix(map): Removed NA text for challenge without time estimat
Closes #16454
2018-01-23 19:34:42 +01:00
Sagar Jha 70a4ebe4f7 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
Davinderpal Singh Rehal 7cbe4141ce fix(challenge): Remove the note about Safari in the HTML5 require (#16546) 2018-01-21 12:21:13 +05:30
build65 33d1e1b1e5 Turn Bootstrap relative URL into https URL (#16547) 2018-01-21 12:05:58 +05:30
Alex Chaffee eacd4d7bb0 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
A-J Roos ab6b04b0f1 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
A-J Roos 42025e3ad0 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
Vivek Agrawal 67027c37a9 feat(seed): Added Bright-Light app as a new home-assignment (#16513) 2018-01-19 00:19:07 -06:00
Sagar Jha dc05c33798 fix(seed): Change require pixel (#16500) 2018-01-19 00:03:57 +05:30
Kristofer Koishigawa b1fcdbf9d4 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
adityajoshi ad6b3b86c8 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
Saurish Kar 2788f723f9 fix(seed): added example breakdown to give more clarity to question (#16485) 2018-01-18 12:16:50 +05:30
Saurish Kar 26e5e458aa fix(seed): fixed typo in question 6 code (#16482) 2018-01-18 12:12:50 +05:30
mrugesh mohapatra 69b47f853a 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
Sagar Jha 0e6feee138 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
mrugesh mohapatra 953208244c
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
Berkeley Martinez 6e17281fda
Merge pull request #16442 from iabrenne/feature/link-to-guide
Feature/link to guide
2018-01-16 12:52:03 -08:00
Berkeley Martinez 81f65969ad
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
Berkeley Martinez a2d3cc6bfb
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
Niko 107b9c2fb4 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
Stephen Mayeux 0e9706e8ab fix(seed): Eliminate regex bug for async assertions (#16341) 2018-01-16 11:25:20 +05:30
Sagar Jha eff0bce0ae fix(seed): Space between function name and parameters was not (#16324) 2018-01-15 22:08:36 +05:30
Kristofer Koishigawa 8c42b475a1 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
Kristofer Koishigawa becef503fb fix(challenges): Add tests and solution for Euler problem 5 (#16421) 2018-01-15 11:36:42 +05:30
Lukasz Grzybowski 73878e84b0 fix(map): Removed required sign from challenges
Closes #16239
2018-01-14 20:17:45 +01:00
Aung Myo Kyaw 68c4485e12 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
Mrugesh Mohapatra b1d3037989 fix(euler): Fixed broken build 2018-01-12 04:09:37 +05:30
Aung Myo Kyaw 4814adc6a4 feat(euler-problem): Add tests and solution for Problem 4: Largest palindrome product 2018-01-12 03:52:28 +05:30
Ryan 9610f1facc 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
Irina Brennen c7a898bed7 refactor(seed): Add link to guide
Partially #16388
2018-01-10 18:32:16 -06:00
Quincy Larson 7bed78c272 fix(seed): Fix label
Closes #16456
2018-01-09 16:10:27 -06:00
mrugesh mohapatra 6521839ff4 chore(seed): Refactoring to use logger (#16443) 2018-01-08 13:08:29 +00:00
Iván Munguía 575ea380dc fix(seed/challenges): Correct typo in a JavaScript challenge (#16441) 2018-01-08 10:53:55 +05:30
scissorsneedfoodtoo 19af4f6bc6 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
Alvin Kristanto 8319472d5a feat(seed): Added more assertions for project euler (#16079) 2018-01-05 18:50:03 +05:30
Dylan a7a436651d fix(challenges): Clarified instructions on es6 let challenge (#15983) 2018-01-04 10:58:30 +00:00
satyamchaudharydev a5a75ca9f9 feat(challenges): Added pong game as a take home project (#16400) 2018-01-03 17:15:55 -06:00
Timo 73c0491758 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
Kristofer Koishigawa 40d34c39dc 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
Berkeley Martinez ae34683996
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
vinsol fc1162f731 fix(seed): fixed correct answer typo in explanation of question 2 2017-12-30 16:51:16 +05:30
Nick Karnik 95d8473fef fix(challenges): Fixed import export related challenges
Closes #16235
2017-12-29 18:38:22 -08:00
darthm3gatron 1507a5a545 fix(seed): Best practice for radio button (#16349) 2017-12-30 00:27:38 +05:30
Niko c6b030a417 fix: Make semicolon optional (#16364) 2017-12-29 14:56:52 +00:00
Tuomas Poikela b1c09cd2c2 feat(challenges): Added challenge stubs including pre-formatted solu (#16339) 2017-12-28 00:47:16 -06:00
Alvin Kristanto f792a4380a feat(seed): Added more assertions for Project Euler Problem (#15953) 2017-12-26 15:10:39 +05:30
Alvin Kristanto 7108b91de5 feat(seed): Added more assertions for Project Euler Problem (#15952) 2017-12-26 15:10:11 +05:30
Alvin Kristanto f6dedc7023 feat(seed): Added more assertions for Project Euler Problem (#15950) 2017-12-26 15:09:32 +05:30
Ethan Arrowood 1dae80ad1b 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 2109845ac1 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 0cdf478f0e 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
Berkeley Martinez 2108d45ccc
Merge pull request #16217 from no-stack-dub-sack/fix/react-redux-finishing-touches
fix(challenges): put finishing touches on react & redux challenges
2017-12-21 09:22:23 -08:00
Angel Eduardo 5a18d1cf80 add tip for alt attribute for the add-images-to-your-website challenge (#16197) 2017-12-21 22:05:02 +05:30
Peter Weinberg 277898afd3 fix(challenges): put finishing touches on react & redux challenges 2017-12-21 00:03:42 -05:00
Jonathan Grah 674ce83ab0 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