From 5ee869ef4990dfef0432ca2b84fc1ac5d40f07e2 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Sun, 17 Jan 2016 21:45:56 -0800 Subject: [PATCH] Clarify instructions and remove code tag from test --- .../basic-javascript.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index e008affe6c..fb71c5283d 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -944,7 +944,7 @@ "description": [ "Sometimes you will need to build a string, Mad Libs style. By using the concatenation operator (+), you can insert one or more variables into a string you're building.", "

Instructions

", - "Set myName and build myStr with myName between the strings \"My name is \" and \" and I am swell!\"" + "Set myName to a string equal to your name and build myStr with myName between the strings \"My name is \" and \" and I am swell!\"" ], "releasedOn": "January 1, 2016", "challengeSeed": [ @@ -979,7 +979,7 @@ ], "tests": [ "assert(typeof myName !== 'undefined' && myName.length > 2, 'message: myName should be set to a string at least 3 characters long');", - "assert(code.match(/[\"']\\s*\\+\\s*myName\\s*\\+\\s*[\"']/g).length > 0, 'message: Use two + operators to build myStr with myName inside it');" + "assert(code.match(/[\"']\\s*\\+\\s*myName\\s*\\+\\s*[\"']/g).length > 0, 'message: Use two + operators to build myStr with myName inside it');" ], "type": "waypoint", "challengeType": 1