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 7c6ba83723..2e331486db 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -700,7 +700,7 @@ "", " // Only change code above this line", " if ( typeof fahrenheit !== 'undefined' ) {", - " return fahrenheit;", + " return fahrenheit;", " } else {", " return 'fahrenheit not defined';", " }", @@ -1264,11 +1264,11 @@ "releasedOn": "January 1, 2016", "challengeSeed": [ "function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {", - " var result = \"\";", - " // Your code below this line", - " ", + " var result = \"\";", + " // Your code below this line", + " ", "", - " // Your code above this line", + " // Your code above this line", " return result;", "}", "", @@ -2488,9 +2488,9 @@ " // Only change code below this line", "", " if (val) {", - " if (val) {", - " return \"Yes\";", - " }", + " if (val) {", + " return \"Yes\";", + " }", " }", "", " // Only change code above this line", @@ -2524,7 +2524,7 @@ "description": [ "The logical or operator (||) returns true if either of the operands is true. Otherwise, it returns false.", "The pattern below should look familiar from prior waypoints:", - "
if (num > 10) {
return \"No\";
}
if (num < 5) {
return \"No\";
}
return \"Yes\";
", + "
if (num > 10) {
return \"No\";
}
if (num < 5) {
return \"No\";
}
return \"Yes\";
", "will return \"Yes\" only if num is between 5 and 10 (5 and 10 included). The same logic can be written as:", "
if (num > 10 || num < 5) {
return \"No\";
}
return \"Yes\";
", "

Instructions

",