From 8722a0a29476d5afd0f0be21bf11d5e14a7ac794 Mon Sep 17 00:00:00 2001 From: Aryan Jabbari Date: Mon, 17 Aug 2015 16:19:02 -0400 Subject: [PATCH 1/2] Fixes #1878 --- seed/challenges/basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index ed2b25e443..24318e8477 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -963,7 +963,7 @@ "}", "else {", "  return(false);", - "}", + "}", "Let's use if and else statements to make a coin-flip game.", "Create an if-else statement to return heads if the flip var is zero and to return tails if it's not." ], From 0cab1ebfe58245887e15fd9ebc234dcba591bf23 Mon Sep 17 00:00:00 2001 From: Aryan Jabbari Date: Mon, 17 Aug 2015 16:34:45 -0400 Subject: [PATCH 2/2] Moved closing code to line 961 --- seed/challenges/basic-javascript.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index 24318e8477..3416cd2240 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -958,12 +958,12 @@ "We can use if statements in JavaScript to only execute code if a certain condition is met.", "if statements require some sort of boolean condition evaluate.", "Example:", - " if (1 == 2) {", + " if (1 == 2) {", "  return(true);", "}", "else {", "  return(false);", - "}", + "}", "Let's use if and else statements to make a coin-flip game.", "Create an if-else statement to return heads if the flip var is zero and to return tails if it's not." ],