From 62598d111f3375f37dd85bc2473647741f9c0aaa Mon Sep 17 00:00:00 2001 From: Akira Laine Date: Thu, 24 Dec 2015 19:27:02 +1100 Subject: [PATCH] Update basic-javascript.json --- .../basic-javascript.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index 3625ddb628..b6ca72b64e 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -346,10 +346,10 @@ "We can also divide one number by another.", "JavaScript uses the / symbol for division.", "

Instructions

", - "Change the 0 so that quotient will equal 2." + "Change the 0 so that answer will equal 2." ], "tests": [ - "assert(quotient === 2, 'message: Make the variable quotient equal 2.');", + "assert(answer === 2, 'message: Make the variable answer equal 2.');", "assert(/\\d+\\s*\\/\\s*\\d+/.test(editor.getValue()), 'message: Use the / operator');" ], "challengeSeed": [ @@ -358,7 +358,7 @@ "" ], "tail": [ - "(function(z){return 'quotient = '+z;})(quotient);" + "(function(z){return 'answer = '+z;})(answer);" ], "type": "waypoint", "challengeType": "1" @@ -975,7 +975,7 @@ "id": "56533eb9ac21ba0edf2244b8", "title": "Concatanting Strings with the Plus Equals Operator", "description": [ - "We can also use the += operator to concatanae a string onto the end of an existing string. This can be very helpful to break a long string over several lines.", + "We can also use the += operator to concatanate a string onto the end of an existing string. This can be very helpful to break a long string over several lines.", "

Instructions

", "Build myStr over several lines by concatanating these two strings:
\"This is the first line. \" and \"This is the second line.\" using the += operator." ], @@ -1650,10 +1650,10 @@ "id": "bg9997c9c69feddfaeb9bdef", "title": "Manipulate Arrays With unshift()", "description": [ - "Not only can you shift elements off of the beginning of an array, you can also unshift elements onto the beginning of an array.", + "Not only can you shift elements off of the beginning of an array, you can also unshift elements to the beginning of an array.", "unshift() works exactly like push(), but instead of adding the element at the end of the array, unshift() adds the element at the beginning of the array.", "

Instructions

", - "Add [\"Paul\",35] onto the beginning of the myArray variable using unshift()." + "Add [\"Paul\",35] to the beginning of the myArray variable using unshift()." ], "tests": [ "assert((function(d){if(typeof(d[0]) === \"object\" && d[0][0].toLowerCase() == 'paul' && d[0][1] == 35 && d[1][0] != undefined && d[1][0] == 'dog' && d[1][1] != undefined && d[1][1] == 3){return true;}else{return false;}})(myArray), 'message: myArray should now have [[\"Paul\", 35], [\"dog\", 3]]).');" @@ -5356,4 +5356,4 @@ "challengeType": "0" } ] -} \ No newline at end of file +}