diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index ff54dca951..aca8fc8c43 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -2993,11 +2993,11 @@ "id": "56533eb9ac21ba0edf2244dc", "title": "Chaining If/Else Statements", "description": [ - "if...else if statements can be chained together for complex logic. Here is pseudocode of multiple chained if/else if statements:", - "
if(condition1) {
statement1
} else if (condition1) {
statement1
} else if (condition3) {
statement3
. . .
} else {
statementN
}
", + "if...else statements can be chained together for complex logic. Here is pseudocode of multiple chained if / else if statements:", + "
if(condition1) {
statement1
} else if (condition1) {
statement1
} else if (condition3) {
statement3
. . .
} else {
statementN
}
", "

Instructions

", "Write chained if/else if statements to fulfill the following conditions:", - "num < 5 - return \"Tiny\"
num < 10 - return \"Small\"
num < 15 - return \"Medium\"
num < 20 - return \"Large\"
num >= 20 - return \"Huge\"" + "num < 5 - return \"Tiny\"
num < 10 - return \"Small\"
num < 15 - return \"Medium\"
num < 20 - return \"Large\"
num >= 20 - return \"Huge\"" ], "releasedOn": "11/27/2015", "tests": [ @@ -3018,8 +3018,8 @@ "challengeSeed": [ "function myTest(num) {", " // Only change code below this line", - "", - "", + " ", + " ", " return \"Change Me\";", " // Only change code above this line", "}",