From 490446d17be2679772b3810cc6a622b909cf1939 Mon Sep 17 00:00:00 2001 From: Brandon Kish Date: Sat, 11 Jun 2016 22:30:26 -0400 Subject: [PATCH] Fix missing apostrophe in Basic JavaScript conditional challenge --- .../basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index c09141ee96..0e824133ca 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -3280,7 +3280,7 @@ "Order is important in if, else if statements.", "The loop is executed from top to bottom so you will want to be careful of what statement comes first.", "Take these two functions as an example.", - "Heres the first:", + "Here's the first:", "
function foo(x) {
if (x < 1) {
return \"Less than one\";
} else if (x < 2) {
return \"Less than two\";
} else {
return \"Greater than or equal to two\";
}
}
", "And the second just switches the order of the statements:", "
function bar(x) {
if (x < 2) {
return \"Less than two\";
} else if (x < 1) {
return \"Less than one\";
} else {
return \"Greater than or equal to two\";
}
}
",