diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 7b1cf7f0cad..8d806cc3a38 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -2777,7 +2777,7 @@ "title": "Chaining If Else Statements", "description": [ "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
}
", + "
if(condition1) {
statement1
} else if (condition2) {
statement2
} 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\"" @@ -5141,4 +5141,4 @@ "isBeta": "true" } ] -} \ No newline at end of file +}