From 584e866a67fc5733c1c1f75c1bd5c609da5ccbfe Mon Sep 17 00:00:00 2001 From: Derek Keith Date: Mon, 18 Jan 2016 21:33:07 -0700 Subject: [PATCH] Remove code blocks within blockquotes. This removes code blocks within blockquotes on the following challenges: - Access MultiDimensional Arrays With Indexes - Understand String Immutability closes #6283 --- .../basic-javascript.json | 6 +++--- 1 file changed, 3 insertions(+), 3 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 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\";
myStr[0] = \"J\";
", "cannot change the value of 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\";
", "

Instructions

", "Correct the assignment to 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
", "

Instructions

", "Read from myArray using bracket notation so that myData is equal to 8" ],