diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json
index 7e2808499d..5d3b8924ec 100644
--- a/seed/challenges/basic-javascript.json
+++ b/seed/challenges/basic-javascript.json
@@ -1143,10 +1143,11 @@
"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 to evaluate.",
"For example:",
- "if (1 === 2) {
",
- " return true;
",
+ "var x = 1;
",
+ "if (x === 2) {
",
+ " return 'x is 2';
",
"} else {
",
- " return false;
",
+ " return 'x is not 2';
",
"}
",
"Let's use if
and else
statements to make a coin-flip game.",
"Create if
and else
statements to return the string \"heads\"
if the flip variable is zero, or else return the string \"tails\"
if the flip variable is not zero."