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 da99c1e502..7b1cf7f0ca 100644
--- a/seed/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json
@@ -224,34 +224,32 @@
"description": [
"In JavaScript all variables and function names are case sensitive. This means that capitalization matters.",
"MYVAR
is not the same as MyVar
nor myvar
. It is possible to have multiple distinct variables with the same name but different casing. It is strongly recommended that for the sake of clarity, you do not use this language feature.",
- "
Best Practice
Write variable names in Javascript in camelCase. In camelCase, variable names made of multiple words have the first word in all lowercase and the first letter of each subsequent word(s) capitalized.
",
- " ",
+ "Best Practice
",
+ "Write variable names in Javascript in camelCase. In camelCase, multi-word variable names have the first word in lowercase and the first letter of each subsequent word is capitalized.",
"Examples:",
"var someVariable;
var anotherVariableName;
var thisVariableNameIsTooLong;
",
"Instructions
",
- "We have provided some decidedly non-standard case variable declarations. Update the variable assignments so their names match the case of their declarations above."
+ "Fix the variable declarations and assignments so their names use camelCase."
],
"releasedOn": "January 1, 2016",
"challengeSeed": [
- "// Setup",
+ "// Declarations",
"var StUdLyCapVaR;",
"var properCamelCase;",
"var TitleCaseOver;",
"",
- "// Only change code below this line",
- "",
+ "// Assignments",
"STUDLYCAPVAR = 10;",
"PRoperCAmelCAse = \"A String\";",
- "tITLEcASEoVER = 9000;",
- ""
+ "tITLEcASEoVER = 9000;"
],
"solutions": [
- "var StUdLyCapVaR;\nvar properCamelCase;\nvar TitleCaseOver;\n\nStUdLyCapVaR = 10;\nproperCamelCase = \"A String\";\nTitleCaseOver = 9000;"
+ "var studlyCapVar;\nvar properCamelCase;\nvar titleCaseOver;\n\nstudlyCapVar = 10;\nproperCamelCase = \"A String\";\ntitleCaseOver = 9000;"
],
"tests": [
- "assert(StUdLyCapVaR === 10, 'message: StUdLyCapVaR has the correct case');",
- "assert(properCamelCase === \"A String\", 'message: properCamelCase has the correct case');",
- "assert(TitleCaseOver === 9000, 'message: TitleCaseOver has the correct case');"
+ "assert(typeof studlyCapVar !== 'undefined' && studlyCapVar === 10, 'message: studlyCapVar
is defined and has a value of 10
');",
+ "assert(typeof properCamelCase !== 'undefined' && properCamelCase === \"A String\", 'message: properCamelCase
is defined and has a value of \"A String\"
');",
+ "assert(typeof titleCaseOver !== 'undefined' && titleCaseOver === 9000, 'message: titleCaseOver
is defined and has a value of 9000
');"
],
"type": "waypoint",
"challengeType": "1",
@@ -5143,4 +5141,4 @@
"isBeta": "true"
}
]
-}
+}
\ No newline at end of file