Commit Graph

313 Commits

Author SHA1 Message Date
Quincy Larson
6e7df9288a fix second instance of logger.html 2015-10-23 22:48:49 -07:00
Quincy Larson
7ede839a02 Merge branch 'fix/test-slot-machine-to-life' of https://github.com/natac13/freecodecamp into natac13-fix/test-slot-machine-to-life 2015-10-23 22:45:23 -07:00
Quincy Larson
d2cab92237 finish editing ajax challenges 2015-10-23 21:32:51 -07:00
Logan Tegman
25b5fbb175 Merge pull request #3790 from sanspace/fix/min-value-for-random-numbers-test-issue-3764
Fix accepting incorrect answer in generating random values within a range waypoint
2015-10-18 07:36:46 -07:00
Santhosh Kumar Srinivasan
6e41fc1d38 Fix accepting incorrect answer
Make min nonzero value
Alter the last test to accept only correct answers
2015-10-18 13:44:17 +05:30
Jonathan Lee Slew
07942878e7 Added missing spaces and fixes a capitalization typo in the description of the "Use Bracket Notation to Find the Nth Character in a String" waypoint.
See issue #3783
2015-10-17 17:40:30 -04:00
Aniruddh Agarwal
6aa5c5518a Fix typo in pop waypoint test 2015-10-15 16:27:55 +08:00
Quincy Larson
f30239fb6c add time estimates to challenge blocks on map 2015-10-12 22:56:10 -07:00
Logan Tegman
66fc4497cf Fix Waypoint Iterate with a For Loop Typo
Closes #3691
2015-10-10 09:17:36 -07:00
Anton Strömkvist
b74b7955eb Merge pull request #3661 from BradenWhited/fix/Lesson-31-More-Concise-Comment
Fix - Comment In Lesson 31 Needs To Be More Concise
2015-10-09 08:14:38 +02:00
Braden Whited
f39fca4472 Lesson 31 - Javascript Generate random whole numbers within a range comment error #1947
Comment needed changed to be more concise.

See #1947
2015-10-08 17:47:06 -04:00
Anton Strömkvist
aaac06fda3 Merge pull request #3603 from ltegman/fix/find-white-space-explaination-2838
Fix Waypoint: Find White Space Explaination
2015-10-08 16:19:46 +02:00
Quincy Larson
f5ed9dbb3b fix message on slot machine challenge 2015-10-07 18:33:01 -07:00
Quincy Larson
05c5eb8d2c update challenge sequence and break on boarding into two sections 2015-10-07 00:41:43 -07:00
Logan Tegman
a17687116e Fix Waypoint: Find Whitespace spelling and grammar. 2015-10-06 08:45:21 -07:00
ahstro
7a31cdd922 'Regular Expressions'-waypoint improvements
* Remove unnecessary `i`-flag from tests and test messages,
  e.g. `/\s+/gi` => `/\s+/g`
* Remove dupliate backslashes from regex test messages,
  e.g. `/\\s+/g` => `/\s+/g`

The two backslashes were probably just an accident caused by how
multiple escapes are necessary with the current way tests are handled.
The `i`-flag was just unnecessary since its purpose is to ignore the
case of alphabetic characters.
2015-10-06 15:13:53 +02:00
Logan Tegman
91708a3316 Fix Waypoint: Find White Space Explaination
Changed text description to make it clear that `\s` is used to find all types of whitespace characters, not just `" "`.
Closes #2838
2015-10-05 22:50:09 -07:00
SaintPeter
89e1ebb952 New for loop waypoints and verbiage improvements 2015-10-03 20:00:09 -07:00
Quincy Larson
465835d6b1 Merge branch 'staging' into map-restructure
Conflicts:
	seed/challenges/basic-ziplines.json
	seed/challenges/intermediate-ziplines.json
2015-10-02 11:23:54 -07:00
Quincy Larson
ea33385fea remove vestigial difficulty attribute from challenges 2015-10-02 01:06:27 -07:00
Quincy Larson
69a3729025 restructure challenges and add certificate challenge skeletons 2015-10-01 23:54:20 -07:00
Berkeley Martinez
5de6837959 Merge pull request #3548 from FreeCodeCamp/converge-bonfires
refactor all Bonfire tests to use assert and have friendly messages
2015-09-30 19:47:20 -07:00
Quincy Larson
dca179c2c5 Merge branch 'staging' into converge-bonfires
Conflicts:
	seed/challenges/basic-bonfires.json
	seed/challenges/intermediate-bonfires.json
2015-09-30 19:06:28 -07:00
Quincy Larson
4fffabfe8f fix exact change and QA all JS challenges 2015-09-30 18:33:32 -07:00
natac13
90230ec907 fix test so it does not match code not in the answer 2015-09-30 05:13:13 -04:00
Mike
ab72094333 Remove Unnecessary Left Over Semicolon
Remove left over semicolon from function that was converted from an anonymous function at https://github.com/FreeCodeCamp/FreeCodeCamp/issues/3287
2015-09-30 02:40:21 -04:00
Aniruddh Agarwal
82e61c28b2 Merge pull request #3520 from abhisekp/fix/waypoint-manipulate-arrays-with-unshift
Minor fix comments in Waypoint: Manipulate Arrays With unshift
2015-09-28 09:19:05 +08:00
Abhisek Pattnaik
0ef3e36d6f Fix comments in Waypoint: Manipulate Arrays With unshift 2015-09-28 03:45:13 +05:30
Abhisek Pattnaik
305f661196 Correct comment
Replace "ourArray[1]" with "ourArray"
close FreeCodeCamp/FreeCodeCamp#3515
2015-09-28 01:04:59 +05:30
ahstro
d9d558a8a9 Slot Machine false positives
The 'Add your JavaScript Slot Machine Slots' waypoint would
throw false positives if all slot numbers were the same, effectively
allowing the campers to pass the test without having written any code.
2015-09-21 23:42:19 +02:00
Arsen Melikyan
e4eda74fa2 Merge pull request #3342 from avastu/Fix-title-case
Fixes "Javascript uses use" typos
2015-09-17 15:23:04 +04:00
Utsav Ahuja
63da377fa8 Fixed "Javascript uses use" typo 2015-09-17 01:04:00 -07:00
Quincy Larson
31f818788d Merge branch 'patch-4' of https://github.com/souldreamer/FreeCodeCamp into souldreamer-patch-4
Conflicts:
	seed/challenges/basic-javascript.json
2015-09-13 23:35:27 -07:00
Quincy Larson
ba4aacdbfd minor improvements to suggested edits 2015-09-13 23:26:03 -07:00
Quincy Larson
404b6d93c5 Merge branch 'bugron-basic_js_fix-3' of https://github.com/bugron/FreeCodeCamp into bugron-bugron-basic_js_fix-3 2015-09-13 21:03:00 -07:00
Quincy Larson
9bdbb59b67 Merge branch 'bugron-basic_js_fix-2' of https://github.com/bugron/FreeCodeCamp into bugron-bugron-basic_js_fix-2
Conflicts:
	seed/challenges/basic-javascript.json
2015-09-13 20:59:54 -07:00
Quincy Larson
2688f48c71 small copy improvements to @bugron fixes 2015-09-13 20:55:51 -07:00
Quincy Larson
5ccf8fe56c Merge branch 'bugron-basic_js_fix-1' of https://github.com/bugron/FreeCodeCamp into bugron-bugron-basic_js_fix-1 2015-09-13 20:48:46 -07:00
Quincy Larson
5376c1d4fe Merge pull request #3266 from leonfeng/leonfeng-fix-3208
Change the example in Waypoint: Manipulate Arrays With unshift()
2015-09-13 20:22:30 -07:00
Joel Bentley
c0f08b140a Add explanation of how values passed to function 2015-09-13 16:02:25 -04:00
Joel Bentley
bf08c300be Remove unneeded tests 2015-09-13 15:34:54 -04:00
Joel Bentley
96e071687b Modify sample function in code to match form of sample function in description 2015-09-13 14:04:52 -04:00
bugron
3af8a9eb9f Fixes typos, word issues in Basic JS, part 3 2015-09-13 09:10:30 +04:00
bugron
43778e5149 Fixes typos, word issues in Basic JS, part 2 2015-09-13 09:02:54 +04:00
bugron
02d24381a7 Fixes typos, word issues in Basic JS, part 1 2015-09-13 08:52:51 +04:00
Berkeley Martinez
b3c7a73ee1 Merge pull request #2892 from bugron/bugron-2256
fixes a test and some text
2015-09-12 21:31:46 -07:00
Leon Feng
8f2f7d7858 Change the unshift() example to make it less confusing to beginners 2015-09-13 03:54:24 +08:00
Joel Bentley
d177e388ea Fix description of Waypoint: Find Numbers with Regular Expressions 2015-09-12 15:00:04 -04:00
Aniruddh Agarwal
627bc03f92 Added external link to substantiate js waypoint
Added a link to FCC wiki to provide explanation of the formula used in the 'Create a JavaScript Slot Machine' basic javascript waypoint as well as the "Generate Random Whole Numbers within a Range" waypoint
closes #2595
2015-09-10 20:20:58 +08:00
bugron
acf6ae2eda fixes a test and some text 2015-09-09 18:32:20 +04:00
Arsen Melikyan
f58e3c07bc Merge pull request #3125 from natac13/change-test-in-javascript-challenges-and-add-optional-spaces-in-jquery-aswell
Test improvements, single and double quote jQuery selectors
2015-09-09 08:39:42 +04:00
Aniruddh Agarwal
9067154566 Fix typo in basic-javascript waypoint
Waypoint 'Invert Regular Expression Matches with JavaScript' had a semi-colon in the description for the regex example which is not needed.
closes #3148
2015-09-09 11:52:21 +08:00
Arsen Melikyan
90805e1aaa Merge pull request #3181 from awesomeaniruddh/awesomeaniruddh-3169
Fixed typo in Basic Javascript Waypoint
2015-09-09 07:44:40 +04:00
Arsen Melikyan
09c7475145 Merge pull request #3102 from AryanJ-NYC/AryanJ-NYC-1875
Clarified instructions for shift() challenge
2015-09-09 07:25:03 +04:00
Aniruddh Agarwal
1c618799b4 Fixed typo in Basic Javascript Waypoint
Waypoint 'Sift through Text with Regular Expressions' had `...` in its description instead of `.`. Made the required changes.
closes #3169
2015-09-09 10:02:08 +08:00
Aryan Jabbari
b54b2de9ab Clarifies instructions for shift() challenge; closes #1875 2015-09-08 17:31:15 -04:00
Anton Strömkvist
c815084d10 Merge pull request #3087 from bugron/bugron-toLowerCase_fix
Fixes 'd[0].toLowerCase() is not a function' error
2015-09-08 22:33:54 +02:00
Anton Strömkvist
bd0f7c1c23 Merge pull request #3091 from bugron/bugron-divide_fix
fixes a condition in assert
2015-09-08 22:29:04 +02:00
Anton Strömkvist
3c28cc3cc6 Merge pull request #3088 from bugron/bugron-add_two_num-fix
fixes assert and adds a dot
2015-09-08 22:24:11 +02:00
Arsen Melikyan
83c1b5c8aa Merge pull request #3153 from ahstro/ahstro-3152
Move brace out of user-edit scope
2015-09-08 23:25:25 +04:00
Anton Strömkvist
4b2c209a22 Merge pull request #2921 from bugron/bugron-2803
fixes an idle test and some text
2015-09-08 21:07:55 +02:00
Arsen Melikyan
91d3959bfd Merge pull request #2953 from dmytroyarmak/dmytroyarmak-2948
Add output block to "Iterate with JavaScript For Loops" challange
2015-09-08 21:37:00 +04:00
bugron
e0db3181d3 fixes an idle test and some text 2015-09-08 19:13:20 +04:00
Dmytro Yarmak
ccb88cadf3 Add output block to "Iterate with JavaScript While Loops" challange 2015-09-08 10:59:14 +03:00
Anton Strömkvist
7a3e84cb0d Merge pull request #2739 from bugron/bugron-1881
Changes nonexistent variable name to proper one
2015-09-08 01:57:41 +02:00
ahstro
0055c3b271 Move brace out of user-edit scope
Move the closing brace of a function down below the
`// Only change code above this line`-comment in
`Use Conditional Logic with IfElse Statements`

Fix #3152
2015-09-07 22:56:27 +02:00
Jakob Dahl
033175ae23 Updated and rebased pr 2015-09-07 03:08:08 +02:00
natac13
34246716c0 Test improvements
changed the jquery selector to account for single and double quotes
as well as optional spaces on:
[Give your JavaScript Slot Machine some stylish images](http://www.freecodecamp.com/challenges/waypoint-give-your-javascript-slot-machine-some-stylish-images)
[Bring your JavaScript Slot Machine to Life](http://www.freecodecamp.com/challenges/waypoint-bring-your-javascript-slot-machine-to-life)
[Target the same element with multiple jQuery Selectors](http://www.freecodecamp.com/challenges/waypoint-target-the-same-element-with-multiple-jquery-selectors)
[Target the Parent of an Element Using jQuery](http://www.freecodecamp.com/challenges/waypoint-target-the-parent-of-an-element-using-jquery)
2015-09-06 13:12:06 -04:00
Arsen Melikyan
c8dee301ee Merge pull request #3109 from AryanJ-NYC/AryanJ-NYC-2136
Added details to instructions of JS arrays waypoint
2015-09-06 10:18:44 +04:00
Aryan Jabbari
0f46ed8c9d Used strict equality for second assert 2015-09-06 00:39:07 -04:00
Aryan Jabbari
2817ec49a9 Checks that length is used twice for JS bracket notation challenges; closes #3105 2015-09-06 00:37:12 -04:00
Aryan Jabbari
aa34bf1a41 Added details to instructions of JS arrays waypoint; closes #2136 2015-09-05 20:53:54 -04:00
bugron
f417adc2d1 fixes a condition in assert 2015-09-05 19:20:41 +04:00
bugron
f4512dd929 fixes assert and some text 2015-09-05 18:05:09 +04:00
bugron
7289607f07 Fixes 'd[0].toLowerCase() is not a function' error 2015-09-05 16:38:09 +04:00
Quincy Larson
6bcc72ece7 Merge pull request #3002 from dmytroyarmak/dmytroyarmak-2999
Improve test cases for Generate Random Whole Numbers within a Range
2015-09-04 15:27:36 -07:00
natac13
d789633494 Added tests to JavaScript Give Slot Machine Some Style
The challenge could be passed by copying the code 3 times.
Made new tests to stop this

closes #2111
2015-09-04 13:48:51 -04:00
Dmytro Yarmak
dd5feb4a2c Improve test cases for Generate Random Whole Numbers within a Range 2015-09-02 23:17:33 +03:00
Dmytro Yarmak
bdd2803923 Add output block to "Iterate with JavaScript For Loops" challange 2015-09-01 13:41:40 +03:00
Atik Shaikh
da6fdcb9e5 Update basic-javascript.json 2015-08-31 00:49:27 +05:30
Ben McMahon
20d58b5208 Merge pull request #2490 from abhisekp/patch-3
Add correction to Waypoint - Sift through Text with Regular Expressions
2015-08-30 16:16:48 +01:00
Abhisek Pattnaik
a2db581771 Change challenge seed 2015-08-30 20:37:32 +05:30
Abhisek Pattnaik
a0f700b7db Merge remote-tracking branch 'upstream/staging' into patch-3 2015-08-30 13:49:04 +05:30
Natac13
20462582f4 fixed minor typo where there was a 's' left when the sentence was changed. Issue #2853 2015-08-29 18:30:16 -04:00
Ben McMahon
e3e1f16195 Merge pull request #2820 from AEA2002/staging
Minor edit in Find the Nth Character
2015-08-29 19:25:29 +01:00
Ben McMahon
fc5316f545 Merge pull request #2821 from uwaseem/uwaseem-1979
Fixed typo for issue 1979
2015-08-29 19:23:46 +01:00
bugron
beab6a4472 fixes 'editor.getValue(...).match(...) is null' 2015-08-29 02:35:06 +04:00
waseem
eec0d073f1 Fixed typo for issue 1979 2015-08-29 04:08:48 +08:00
ahstro
33ed3ae8b0 return(foo) => return foo 2015-08-27 22:19:03 +02:00
Arsen Melikyan
b24f367749 Changes nonexistent variable name to proper one 2015-08-26 18:59:59 +04:00
AEA2002
b9cfc09eb9 Minor edit in Find the Nth Character
In "Use Bracket Notation to Find the Nth Character in a String" section removed "last" from  'The third last letter of lastName should be..."
2015-08-25 18:34:31 -04:00
Aniruddh Agarwal
57c3261415 replaced + by . 2015-08-25 22:42:58 +08:00
Aniruddh Agarwal
0cc032a6e9 fixed conflicts 2015-08-25 22:21:33 +08:00
Aniruddh Agarwal
beb537d5eb Cleaned up description for 'Sift through Text with Regular Expressions' waypoint 2015-08-25 20:26:32 +08:00
Aniruddh Agarwal
5ce26c5b4b Expanded description of 'Build Javacript Objects' waypoint 2015-08-25 19:36:47 +08:00
Quincy Larson
048a7d3dce Merge pull request #2620 from bugron/bugron-1522
Fixes missing backslash in waypoints' instructions'
2015-08-24 19:02:22 -07:00
Quincy Larson
e5a9b697ae Merge branch 'staging' of github.com:FreeCodeCamp/freecodecamp into staging 2015-08-24 17:54:00 -07:00
bugron
f750182a4b Adds a desctiption to avoid confusion in JS challenges 2015-08-25 04:41:02 +04:00
Berkeley Martinez
26e1f3fdac Merge pull request #2568 from AryanJ-NYC/AryanJ-NYC-1876
Fixed #1876; fixed some grammar issues; adhered to JS comment convent…
2015-08-24 11:14:32 -07:00
Berkeley Martinez
c82909de0c Merge pull request #2596 from suhussai/suhussai-2592
Typo Fix. Closes #2592
2015-08-24 11:03:34 -07:00