diff --git a/challenges/01-responsive-web-design/basic-css.json b/challenges/01-responsive-web-design/basic-css.json
index ec0bfec4f08..ee96f34fea5 100644
--- a/challenges/01-responsive-web-design/basic-css.json
+++ b/challenges/01-responsive-web-design/basic-css.json
@@ -20,11 +20,14 @@
"tests": [
{
"text": "Your h2 element should be red.",
- "testString": "assert($(\"h2\").css(\"color\") === \"rgb(255, 0, 0)\", 'Your h2 element should be red.');"
+ "testString":
+ "assert($(\"h2\").css(\"color\") === \"rgb(255, 0, 0)\", 'Your h2 element should be red.');"
},
{
- "text": "Your style declaration should end with a ; .",
- "testString": "assert(code.match(/
style declaration should end with a ; .');"
+ "text":
+ "Your style declaration should end with a ; .",
+ "testString":
+ "assert(code.match(/style declaration should end with a ; .');"
}
],
"challengeType": 0,
@@ -137,24 +140,32 @@
],
"tests": [
{
- "text": "Remove the style attribute from your h2 element.",
- "testString": "assert(!$(\"h2\").attr(\"style\"), 'Remove the style attribute from your h2 element.');"
+ "text":
+ "Remove the style attribute from your h2 element.",
+ "testString":
+ "assert(!$(\"h2\").attr(\"style\"), 'Remove the style attribute from your h2 element.');"
},
{
"text": "Create a style element.",
- "testString": "assert($(\"style\") && $(\"style\").length > 1, 'Create a style element.');"
+ "testString":
+ "assert($(\"style\") && $(\"style\").length > 1, 'Create a style element.');"
},
{
"text": "Your h2 element should be blue.",
- "testString": "assert($(\"h2\").css(\"color\") === \"rgb(0, 0, 255)\", 'Your h2 element should be blue.');"
+ "testString":
+ "assert($(\"h2\").css(\"color\") === \"rgb(0, 0, 255)\", 'Your h2 element should be blue.');"
},
{
- "text": "Ensure that your stylesheet h2 declaration is valid with a semicolon and closing brace.",
- "testString": "assert(code.match(/h2\\s*\\{\\s*color\\s*:.*;\\s*\\}/g), 'Ensure that your stylesheet h2 declaration is valid with a semicolon and closing brace.');"
+ "text":
+ "Ensure that your stylesheet h2 declaration is valid with a semicolon and closing brace.",
+ "testString":
+ "assert(code.match(/h2\\s*\\{\\s*color\\s*:.*;\\s*\\}/g), 'Ensure that your stylesheet h2 declaration is valid with a semicolon and closing brace.');"
},
{
- "text": "Make sure all your style elements are valid and have a closing tag.",
- "testString": "assert(code.match(/<\\/style>/g) && code.match(/<\\/style>/g).length === (code.match(/