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 c20cd9793a..d8f1a5c093 100644
--- a/seed/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json
@@ -99,7 +99,7 @@
"id": "56533eb9ac21ba0edf2244a8",
"title": "Storing Values with the Equal Operator",
"description": [
- "In Javascript, you can store a value in a variable with the assignment or equal
(=
) operator.",
+ "In JavaScript, you can store a value in a variable with the assignment or equal
(=
) operator.",
"myVariable = 5;
",
"Assigns the Number
value 5
to myVariable
.",
"Assignment always goes from right to left. Everything to the right of the =
operator is resolved before the value is assigned to the variable to the left of the operator.",
@@ -107,7 +107,7 @@
"myNum = myVar;
",
"Assigns 5
to myVar
and then resolves myVar
to 5
again and assigns it to myNum
.",
"
a
",
+ "Assign the value 7
to variable a
",
"Assign the contents of a
to variable b
."
],
"releasedOn": "January 1, 2016",
@@ -1853,7 +1853,7 @@
"id": "56533eb9ac21ba0edf2244be",
"title": "Global Scope and Functions",
"description": [
- "In Javascript, scope refers to the visibility of variables. Variables which are defined outside of a function block have Global scope. This means, they can be seen everywhere in your JavaScript code.",
+ "In JavaScript, scope refers to the visibility of variables. Variables which are defined outside of a function block have Global scope. This means, they can be seen everywhere in your JavaScript code.",
"Variables which are used without the var
keyword are automatically created in the global
scope. This can create unintended consequences elsewhere in your code or when running a function again. You should always declare your variables with var
.",
"global
variable myGlobal
outside of any function. Initialize it to have a value of 10
",
@@ -1911,7 +1911,7 @@
"assert(myGlobal === 10, 'message: myGlobal
should have a value of 10
');",
"assert(/var\\s+myGlobal/.test(code), 'message: myGlobal
should be declared using the var
keyword');",
"assert(typeof oopsGlobal != \"undefined\" && oopsGlobal === 5, 'message: oopsGlobal
should have a value of 5
');",
- "assert(!/var\\s+oopsGlobal/.test(code), 'message: Do not decalre oopsGlobal
using the var
keyword');"
+ "assert(!/var\\s+oopsGlobal/.test(code), 'message: Do not declare oopsGlobal
using the var
keyword');"
],
"type": "waypoint",
"challengeType": "1",
@@ -3350,7 +3350,7 @@
"id": "56533eb9ac21ba0edf2244c9",
"title": "Accessing Objects Properties with Variables",
"description": [
- "Another use of bracket notation on objects is to use a variable to access a property. This can be very useful for iterating through lists of object properties or for doing lookup.",
+ "Another use of bracket notation on objects is to use a variable to access a property. This can be very useful for iterating through lists of the object properties or for doing the lookup.",
"Here is an example of using a variable to access a property:",
"var someProp = \"propName\";", "Note that we do not use quotes around the variable name when using it to access the property because we are using the value of the variable, not the name", @@ -3620,7 +3620,7 @@ "", "function checkObj(checkProp) {", " // Your Code Here", - "", + " ", " return \"Change Me!\";", "}", "", @@ -3645,12 +3645,12 @@ "id": "56533eb9ac21ba0edf2244cb", "title": "Introducing JavaScript Object Notation (JSON)", "description": [ - "JavaScript Object Notation or
var myObj = {
propName: \"Some Value\"
}
myObj[someProp]; // \"Some Value\"
JSON
uses the format of Javascript Objects to store data. JSON is flexible becuase it allows for data structures with arbitrary combinations of strings, numbers, booleans, arrays, and objects. ",
+ "JavaScript Object Notation or JSON
uses the format of JavaScript Objects to store data. JSON is flexible because it allows for Data Structures with arbitrary combinations of strings, numbers, booleans, arrays, and objects.",
"Here is an example of a JSON object:",
"var ourMusic = [", - "This is an array of objects and the object has various pieces of metadata about an album. It also has a nested array of formats. Additional album records could be added to the top level array.", + "This is an array of objects and the object has various pieces of metadata about an album. It also has a nested
{
\"artist\": \"Daft Punk\",
\"title\": \"Homework\",
\"release_year\": 1997,
\"formats\": [
\"CD\",
\"Cassette\",
\"LP\" ],
\"gold\": true
}
];
formats
array. Additional album records could be added to the top level array.",
"myMusic
JSON object. Add artist
and title
strings, release_year
year, and a formats
array of strings."
+ "Add a new album to the myMusic
JSON object. Add artist
and title
strings, release_year
year, and a formats
array of strings."
],
"releasedOn": "January 1, 2016",
"challengeSeed": [
@@ -4057,17 +4057,17 @@
"title": "Nesting For Loops",
"description": [
"If you have a multi-dimensional array, you can use the same logic as the prior waypoint to loop through both the array and any sub-arrays. Here is an example:",
- "var arr = [", - "This outputs each sub-element in
[1,2], [3,4], [5,6]
];
for (var i=0; i < arr.length; i++) {
for (var j=0; k < arr[i].length; j++) {
console.log(arr[i][j]);
}
}
arr
one at a time. Note that for the inner loop we are checking the .length
of arr[i]
, since arr[i]
is itself an array.",
+ "var arr = [", + "This outputs each sub-element in
[1,2], [3,4], [5,6]
];
for (var i=0; i < arr.length; i++) {
for (var j=0; j < arr[i].length; j++) {
console.log(arr[i][j]);
}
}
arr
one at a time. Note that for the inner loop, we are checking the .length
of arr[i]
, since arr[i]
is itself an array.",
"multiplyAll
so that it multiplies product
by each number in the subarrays of arr
"
+ "Modify function multiplyAll
so that it multiplies the product
variable by each number in the sub-arrays of arr
"
],
"releasedOn": "January 1, 2016",
"challengeSeed": [
"function multiplyAll(arr) {",
" var product = 1;",
" // Only change code below this line",
- "",
+ " ",
" // Only change code above this line",
" return product;",
"}",
@@ -4142,9 +4142,9 @@
" var codeArr = encodedStr.split(\"\"); // String to Array",
" var decodedArr = []; // Your Result goes here",
" // Only change code below this line",
- "",
- "",
- "",
+ " ",
+ " ",
+ " ",
" // Only change code above this line",
" return decodedArr.join(\"\"); // Array to String",
"}",
@@ -5139,4 +5139,4 @@
"isBeta": "true"
}
]
-}
\ No newline at end of file
+}