diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json
index 294391a11a..11bece8a92 100644
--- a/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/challenges/01-front-end-development-certification/basic-javascript.json
@@ -3116,11 +3116,11 @@
"id": "56533eb9ac21ba0edf2244de",
"title": "Adding a default option in Switch statements",
"description": [
- "In a switch
statement you may not be able to specify all possible values as case
statements. Instead, you can use the default
statement where a case
would go. Think of it like an else
statement for switch
.",
- "A default
statement should be the last \"case
\" in the list.",
- "
switch (num) {", + "In a
case value1:
statement1
break;
value2:
statement2;
break;
...
default:
defaultStatement;
}
switch
statement you may not be able to specify all possible values as case
statements. Instead, you can add the default
statement which will be executed if no matching case
are found. Think of it like the final else
statement in an if...else
chain.",
+ "A default
statement should be the last case.",
+ "switch (num) {", "
case value1:
statement1
break;
case value2:
statement2;
break;
...
default:
defaultStatement;
}
answer
for the following conditions:\"a\"
- \"apple\"\"b\"
- \"bird\"\"c\"
- \"cat\"default
- \"stuff\""
+ "Write a switch statement to set answer
for the following conditions:\"a\"
- \"apple\"\"b\"
- \"bird\"\"c\"
- \"cat\"default
- \"stuff\""
],
"releasedOn": "11/27/2015",
"tests": [
@@ -3138,7 +3138,7 @@
" // Only change code below this line",
" ",
" ",
- "",
+ " ",
" // Only change code above this line ",
" return answer; ",
"}",