From e00a42617c7db63e6912a263022c8514bdc3f2f0 Mon Sep 17 00:00:00 2001 From: wilstenholme Date: Thu, 31 Dec 2015 18:29:00 -0500 Subject: [PATCH] Fix typos and clarify the description --- .../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 0565caa7ea0..6093546c73b 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -2157,8 +2157,8 @@ "id": "cf1111c1c12feddfaeb3bdef", "title": "Use Conditional Logic with If Statements", "description": [ - "We can use if statements in JavaScript to only execute code if a certain condition is met.", - "if statements require a boolean condition to evaluate. If the boolean evaluates to true, the statement inside the curly braces executes. If it evaluates to false, the code will not execute.", + "We can use if statements in JavaScript to execute code only if the specified condition is met.", + "Each if statement requires a boolean condition to evaluate. If the boolean evaluates to true, the statements inside the curly braces will execute. Otherwise, if it evaluates to false, the code will not execute.", "Example", "
function test(myVal) {
if (myVal > 10) {
return \"Greater Than\";
}
return \"Not Greater Than\";
}
", "If myVal is greater than 10, the function will return \"Greater Than\". If it is not, the function will return \"Not Greater Than\".",