Commit Graph

467 Commits

Author SHA1 Message Date
sahilkhurana02
c7c2690848 Edited the basic challenge description to make the challenge easier to understand. 2016-06-16 18:06:33 +05:30
Quincy Larson
332ea5f76c remove the word simply from a couple challenges 2016-06-15 13:15:31 -07:00
robjloranger
6df576df6b adjusted test 2016-06-14 16:41:55 -07:00
Eric Leung
cd4f17564d Merge pull request #8896 from Bouncey/FIX-Comparison-with-the-Equality-Operator
FIX Comparison with the Equality Operator
2016-06-12 16:19:49 -07:00
Stuart
1641b25523 FIX Comparison with the Equality Operator 2016-06-12 09:26:13 +01:00
Brandon Kish
f3761e86e5 Fix missing apostrophe in Basic JavaScript conditional challenge 2016-06-11 22:30:26 -04:00
Pasayadaan
e4381b7c9d Fix for access array data with indices
This is a buggy challange (#8843)

Updated description in
seed/challenges/01-front-end-development-certification/html5-and-css.json
to instruct "Create second <p> element after the existing <p> element"

fix for access array data with indices

use deep not-equal in first assertion
2016-06-11 11:05:11 -07:00
DealPete
78bbf1e767 Fixed 'Write Reusable JavaScript with Functions' head and tail 2016-06-10 19:30:04 -02:30
Junaid Ahmed
42023aec92 replaced comparison with strict equality operator 2016-06-09 16:26:39 +05:30
Eric Leung
e1b987676b Merge pull request #8890 from Bouncey/FIX/Comparison-with-the-Inequality-Operator
FIX/Comparison-with-the-Inequality-Operator
2016-06-08 21:54:33 -07:00
Priya Ranjan Singh
b29432e26d add challenge instruction for valid array operations 2016-06-08 22:16:47 +05:30
Stuart
06b928fbc8 Fix/Comparison with the Inequality Operator. 2016-06-08 16:30:05 +01:00
nicolaferracin
511b47c09b Introducing Else Statement excercise - write clearer instructions 2016-06-08 14:18:28 +02:00
Eric Leung
bb9b2f85ec Merge pull request #8982 from daniel-chung/fix/assert-message
Clarify error message in basic-javascript challenge
2016-06-07 22:32:58 -07:00
daniel-chung
882404025d Clarify error message in basic-javascript challenge
Removes the enclosing parentheses in the second assert error message for the basic-javascript challenge 'Escaping Literal Quotes'.

Previous error message was:
Variable myStr should equal to (I am a "double quoted" string inside "double quotes").

The new error message is now:
Variable myStr should contain the string: I am a "double quoted" string inside "double quotes".
2016-06-07 21:16:05 -04:00
Jackson Kearl
f187512cd0 Decrease whitespace dependencies in checkoffs
Change most `\s?` to `\s*\` in tests, to allow for multiple whitespace characters in places where whitespace does not matter.
2016-06-07 15:25:19 -07:00
Arun
53026c6609 Fix tests for finding remainder in javascript challenge 2016-06-05 00:28:13 +05:30
Jacob Bearden
aaab1cd218
fix small typo 2016-06-03 18:29:56 -06:00
Russ Otto
c8ce78112c Fixed issue #7015: Access Multi-Dimensional Arrays with Indexes
This commit clarifies the explanation and example for the Basic Javascript challenge "Access Multi-Dimensional Arrays with Indexes." The implemented fix was proposed by @erictleung in https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7015#issuecomment-222345491
2016-06-01 12:24:29 -05:00
Eric Leung
0e10970198 Merge pull request #8857 from pranayberry/fix/remainder-challenge
Updated test case for the remainder challenge
2016-05-30 17:01:37 -07:00
Eric Leung
9282ab5d3a Merge pull request #8691 from nishant-tomer/fix/tests-challenge-record-collection
add one more test to Record Collection
2016-05-30 16:11:48 -07:00
Pranay Berry
1de8664451 Updated test case 2016-05-31 01:59:22 +05:30
Daksh Shah
93b2b1b541 Fix test in Accessing Obj Properties with Vars 2016-05-29 12:47:11 +03:00
DealPete
650f214c4f add period to "Escaping Literal Quotes in Strings". 2016-05-27 22:57:25 -02:30
Mrugesh Mohapatra
a2dbb61062 Merge pull request #8746 from drewbs/fix/profile-lookup
Remove unnecessary line in Profile Lookup
2016-05-21 22:17:11 +05:30
Andrew Younge
e2d090004d Remove unnecessary line in Profile Lookup 2016-05-21 20:12:03 +08:00
InsomniacSabbir
08c811b28b Fixed <code> tag in seed/challenges/01-front-end-development-certification/basic-javascript.json 2016-05-20 21:01:57 +06:00
BoDonkey
46bea1d647 Alters the Celsius to Fahrenheit challenge to eliminate the initial error massage 2016-05-19 19:08:36 -04:00
Eric Leung
95108e4ca1 Merge pull request #8552 from pranayberry/fix/instruction-update
Updated Instructions and added a test case.
2016-05-19 09:05:38 -07:00
Pranay Berry
62d7e77c86 Added a test case and updated instructions.
Added one more test case to check for use of only one element of the array and changed the existing test case for better flexibility. Updated instructions for better understanding of the challenge.
2016-05-19 21:28:25 +05:30
nishant-tomer
971b0310d9 add a test in Record Collection 2016-05-17 23:22:21 +05:30
Logan Tegman
b45fcaf143 Merge pull request #8663 from pranayberry/fix/bracket-notation-testcase
Updated the test case for better flexibility.
2016-05-17 09:03:28 -07:00
Pranay Berry
6df4e04c3a Changed the test case for better flexibility
Changed the test case so that it still uses same logic but can accept more complex statements.
2016-05-17 19:36:17 +05:30
Mrugesh Mohapatra
4cecc4cb08 Merge pull request #8652 from nishant-tomer/fix/broken-regex-for-challenge-Generate-Random-Whole-Numbers-with-JavaScript
Fix Generate Random Whole Numbers with JavaScript
2016-05-16 18:44:51 +05:30
Eric Leung
d5b4be490d Merge pull request #8646 from nishant-tomer/fix/typo-from-instructions-of-challenge-Profile-Lookup
Remove typo from instructions of challenge - Profile Lookup
2016-05-15 19:18:11 -07:00
nishant-tomer
98db6a1752 Fix a minor bug in regex for challenge-Generate-Random-Whole-Numbers-with-JavaScript 2016-05-16 05:25:34 +05:30
Mrugesh Mohapatra
10ce97406d Merge pull request #8639 from elazzabi/fix/typo-in-accessing-objects-properties-with-variables
Fixing typo in accessing objects proprieties with variables
2016-05-15 22:21:13 +05:30
nishant-tomer
54fc1ca3d3 Remove typo from instructions of challenge - Profile Lookup 2016-05-15 21:55:09 +05:30
nishant-tomer
c256436491 Fixed grammatical error in Manipulate Arrays with push 2016-05-15 18:37:07 +05:30
elazzabi
14796a499d fix/fixing typo in accessing objects proprieties with variables 2016-05-15 11:18:28 +01:00
Pranay Berry
5181adaf18 Fixed increment and decrement issue
Implemented a more flexible check to ensure both pre and post operations are accepted.
2016-05-13 00:44:29 +05:30
Pranay Berry
445f803cb9 Fixed Spaces in Counting Cards Challenge 2016-05-09 23:14:33 +05:30
Onel Harrison
78556e19b5 Fix typo 2016-05-08 19:48:13 -04:00
theflametrooper
701c07ac37 Fixed Capitalization on data types
Changed all to lowercase
2016-05-03 18:04:44 +01:00
Mrugesh Mohapatra
606051c87e Merge pull request #8394 from theflametrooper/fix/datatypes
Changed Data Types to Title Case
2016-05-02 21:27:19 +05:30
Jonathan
ab6f6439c7
Changed Data Types to Title Case 2016-05-02 15:40:59 +01:00
Mrugesh Mohapatra
f60213389f Merge pull request #8203 from evannudd/fix/remove_message_quote
Fix/remove message quote
2016-04-30 23:02:05 +05:30
Jose Tello
fed3327bcf Add test case for front-end challenge. 2016-04-28 19:45:18 -07:00
Evan N
6b42ec11fe Removed the quotation marks from the message and fixed the merge squash 2016-04-27 13:58:10 -04:00
DusanSacha
724f417337 Added hint to JS increment challenge 2016-04-21 08:16:58 +02:00
Eric Leung
f2f6aea55a Merge pull request #8208 from theflametrooper/fix/codetagsbug
Added closing code tags to "Adding a default option in Switch statements"
2016-04-20 22:32:16 -07:00
Jonathan
0baf2dc4f3 Added closing code tags
Changed location of code tags
2016-04-20 17:04:27 +01:00
BKinahan
7702f8071b Clarify test text for random numbers in a range 2016-04-19 10:52:48 +00:00
Eric Leung
58295c74d2 Merge pull request #8159 from LibanTheDev/fix/Accessing-Objects-With-BracketNotation
Changed instructions on basic JS challenge
2016-04-17 01:56:47 -07:00
LibanTheDev
1fffc52114 Changed instructions on basic JS challenge 2016-04-16 23:56:43 -04:00
Berkeley Martinez
66e198c310 Merge pull request #7953 from erictleung/fix/declare-js-vars-bug
Add head code to prevent Declare JS Vars bug
2016-04-14 22:13:50 -07:00
Berkeley Martinez
07d0d4fca5 Merge pull request #7952 from erictleung/fix/add-solutions-to-challenges
Add solutions to Basic JS, OOP, and Automated Test
2016-04-14 22:12:09 -07:00
Berkeley Martinez
5000462ccd Merge pull request #7910 from erictleung/fix/clarify-quoting-string-with-single-quotes
Clarify why escape a particular quote type pair
2016-04-14 22:05:21 -07:00
Eric Leung
fd66a599b2 Merge pull request #8093 from BKinahan/fix/conditional-if-tests
Update Conditional Logic tests and description
2016-04-13 08:49:00 -07:00
Kevin Busse
86115609ee Fixed typo 2016-04-13 15:36:44 +02:00
BKinahan
b2f60a5f8d Update Conditional Logic tests and description 2016-04-13 13:35:46 +00:00
Eric Leung
6003f8eb71 Merge pull request #8009 from josectello/fix/basic_javascript_wording
Capitalize "s" in JavaScript for challenge.
2016-04-09 01:09:35 -07:00
Jose Tello
747be9439a Capitalize "s" in JavaScript for challenge. 2016-04-09 00:30:52 -07:00
DusanSacha
11de01637d Fixed broken link 2016-04-08 16:46:16 +02:00
Eric Leung
88512026c9 Add head code to prevent Declare JS Vars bug 2016-04-06 23:53:06 -07:00
Eric Leung
a2849ebf0f Add solutions to Basic JS, OOP, and Automated Test
- Added solutions to Basic Javascript, Object Oriented and Functional
  Programming, and Automated Testing and Debugging
- Linted when I could (e.g. fix errors COM1000 was throwing, remove unnecessary
  white space and comments)
2016-04-06 22:30:30 -07:00
Rex Schrader
98efa93c68 Merge pull request #7899 from Saerith/fix/7085
Changed basic-javascript function names to be unique
2016-04-06 12:45:17 -07:00
Enes Gönültaş
43623f3a7a Fixed dead link 2016-04-05 11:16:48 +03:00
Eric Leung
621e9e8d6a Clarify why escape a particular quote type pair 2016-04-05 00:24:53 -07:00
Alyssa Ingersoll
bfcdd79467 Changed basic javascript function names to be unique. 2016-04-04 20:02:31 -07:00
Rex Schrader
41ce2d83f8 Merge pull request #7856 from erictleung/fix/usability-on-local-scope-and-functions
Clarify instructions for Local Scope and Functions
2016-04-03 14:11:29 -07:00
Joseph Morse
57e8d4abdf Added Additional Test to Increment a Number
Added an additional test to check that myVar = myVar is not still
present. Tested locally.
2016-04-03 11:52:02 -04:00
Eric Leung
0f5c329051 Simplify temp convert challenge
- Make grammar changes

- Add code tags to numbers

- Add note to calm students about foreign function and return statements

- Add spaces in seed code to align code with indents

- Remove unnecessary code from seed code
2016-04-03 17:41:40 +05:30
Eric Leung
094a48f0a9 Accept >=1 versus >=5 returns in chaining if else 2016-04-03 04:18:57 -07:00
Eric Leung
35e38d61b8 Clarify instructions for Local Scope and Functions
- Add additional instructions on following commented out instructions
- Add hint to refresh page if you encounter issues
- Lint the head script to follow two space indent
- Capitalize words in commented out instructions
2016-04-02 01:33:32 -07:00
Mrugesh Mohapatra
d806f91fde Merge pull request #7736 from BKinahan/fix/counting-cards-tests
Add test to Counting Cards
2016-03-31 12:55:58 +05:30
Eric Leung
4ad03d1223 Clarify Declare JS Vars challenge description
- Update description on what variables are
- Change code tags to dfn tags around the words "data" and "variables"
2016-03-28 21:46:24 -05:00
Michael Ro
ab1a440622 Adds switch statement MDN link 2016-03-27 12:33:57 -07:00
Mrugesh Mohapatra
a483f57c48 Fix Compound Assignment Challenges
This commit updates the Compound assignment challenges:

* Compound Assignment With +=
* Compound Assignment With -=
* Compound Assignment With *=
* Compound Assignment With \=

to

* Compound Assignment With Augmented Addition
* Compound Assignment With Augmented Substraction
* Compound Assignment With Augmented Multiplication
* Compound Assignment With Augmented Division

Tested locally
2016-03-27 13:49:45 +05:30
BKinahan
1400842828 Add test to Counting Cards
Adds a test to Counting Cards for cases when last drawn card decreases Count but Count is still positive
2016-03-26 18:13:30 +00:00
Ivan Kurnosov
766f088ea8 Fixed assignment operator terminology
It's not accurate to call the `assignment operator` `=` and `equal` operator, since it might be confused with the `equality operators`, eg `==`.

For the very same reason changed the `Minus Equals` wording to characters `-=` and titled the challenges with its commonly used name: compound or augment assignment (see https://en.wikipedia.org/wiki/Augmented_assignment)

What do you think of this clarification?

Thanks.
2016-03-24 12:02:26 +13:00
Rex Schrader
56c6b66204 Merge pull request #7615 from drk7891/fix/array-name-typo
Fixed challenge typo
2016-03-19 20:50:24 -07:00
Rex Schrader
9cf2b498d1 Merge pull request #7569 from paycoguy/fix/accessing-nested-arrays
Updated example code for Accessing Nested Arrays in JSON to match challenge code
2016-03-19 19:44:03 -07:00
drk7891
5b75652fa6 Fixed challenge typo 2016-03-18 10:35:28 -04:00
Jacob Bearden
fcf866906b fix image protocol 2016-03-16 20:32:12 -06:00
Andre Alonzo
e54e83494f Updated example code fo r Accessing Nested Arrays in JSON 2016-03-14 22:50:24 -07:00
Rex Schrader
6e7d5db741 Change nameXX properties to title XX properties 2016-03-11 21:00:06 -08:00
Eric Leung
bcbd863b9a Fix javascript to JavaScript in Basic JavaScript 2016-03-10 00:09:18 -08:00
Vladimir Támara Patiño
9767546767 Finishing reviewing of spanish translation by @jorgeruvalcaba.
Thanks for corrections to @justinian336
2016-03-08 21:58:27 -05:00
Randy Tolentino
0fe14f897d Changed very last test for the Comparisons with the Logical And Operator challenge.
- the last test was a repeat, of testing the number 51 and expecting No
- changed the spec to test for 80, and should still return No
2016-03-02 09:54:21 -06:00
Eric Leung
70d4938481 Remove unnecessary line break in Counting Cards 2016-02-21 13:23:53 -08:00
Logan Tegman
1028a1cd0c Merge pull request #7091 from jorgeruvalcaba/add/ES-translation-basic-javascript
Verify and update translation to spanish of basic javascript
2016-02-19 20:16:45 -08:00
Jorge Ruvalcaba
b79ab9085c Challenges of Basic Javascript translated. Closes #6496
Challenges of Javascript translated and corrected.

Some changes in challenges of Javascript.

Format nameEs and general corrections.
2016-02-18 18:18:06 -06:00
Jami Gibbs
97cd338430 Fix grammar in the Golf Code challenge directions 2016-02-17 16:00:09 -06:00
Eric Leung
860419bf56 Clarify Counting Cards instructions & add tests
- Clarify instructions by changing table column "Value" to "Count Change"
- Add two more tests with mix of 7, 8, 9 and other card values
2016-02-16 07:31:41 -08:00
Logan Tegman
4ccf76bd76 Merge pull request #6925 from erictleung/fix/further-clarify-dot-operator
Clarify instructions on saving object properties
2016-02-14 13:32:26 -08:00
Ankit Aggarwal
f6196b0c7d Improve test cases of Record Collection challenge 2016-02-12 19:15:28 +05:30
Eric Leung
7f8c10b602 Clarify instructions on saving object properties 2016-02-11 19:12:33 -08:00
Rex Schrader
858546e3ec Migrate invalid Challenge IDs 2016-02-10 15:18:48 -08:00
Alister N. Mada
b5e8f84dae Fix test for Iterate Through An Array With For Loop 2016-02-10 06:29:11 +07:00