From 92df9f8d5f4fd11dce1ec32b9572c19678c55963 Mon Sep 17 00:00:00 2001 From: Peter Benjamin Date: Thu, 31 Dec 2015 14:39:19 -0800 Subject: [PATCH] fix typo in chaining if/else statements Waypoint --- .../basic-javascript.json | 4 ++-- 1 file changed, 2 insertions(+), 2 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 7b1cf7f0ca..8d806cc3a3 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/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 +}