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 83afd66e3f..73ded74b47 100644
--- a/seed/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json
@@ -1115,9 +1115,9 @@
"description": [
"In Javascript, String
values are immutable, which means that they cannot be altered once created.",
"For example, the following code:",
- "
var myStr = \"Bob\";
myStr[0] = \"J\";
",
+ "var myStr = \"Bob\";", "cannot change the value of
myStr[0] = \"J\";
myStr
to \"Job\", because the contents of myStr
cannot be altered. Note that this does not mean that myStr
cannot be changed, just that the individual characters of a string literal cannot be changed. The only way to change myStr
would be to assign it with a new string, like this:",
- "var myStr = \"Bob\";
myStr = \"Job\";
",
+ "var myStr = \"Bob\";", "
myStr = \"Job\";
myStr
to achieve the desired effect."
],
@@ -1425,7 +1425,7 @@
"description": [
"One way to think of a multi-dimensional array, is as an array of arrays. When you use brackets to access your array, the first set of bracket refers to the entries in the outer-most array, and each subsequent level of brackets refers to the next level of entries inside.",
"Example",
- "var arr = [", + "
[1,2,3],
[4,5,6],
[7,8,9],
[[10,11,12], 13, 14]
];arr[0]; // equals [1,2,3]
arr[1][2]; // equals 6
arr[3][0][1]; // equals 11
var arr = [", "
[1,2,3],
[4,5,6],
[7,8,9],
[[10,11,12], 13, 14]
];
arr[0]; // equals [1,2,3]
arr[1][2]; // equals 6
arr[3][0][1]; // equals 11
myArray
using bracket notation so that myData is equal to 8
"
],