diff --git a/seed/challenges/01-responsive-web-design/basic-css.json b/seed/challenges/01-responsive-web-design/basic-css.json index c2d63f40fd..41ae32d9f9 100644 --- a/seed/challenges/01-responsive-web-design/basic-css.json +++ b/seed/challenges/01-responsive-web-design/basic-css.json @@ -60,7 +60,7 @@ "We can do this by changing the style of your h2 element.", "The style that is responsible for the color of an element's text is the \"color\" style.", "Here's how you would set your h2 element's text color to blue:", - "<h2 style=\"color: blue\">CatPhotoApp</h2>", + "<h2 style=\"color: blue;\">CatPhotoApp</h2>", "
", "Change your h2 element's style so that its text color is red." ], @@ -98,7 +98,7 @@ "" ], "tests": [ - "assert($(\"h2\").css(\"color\") === \"rgb(255, 0, 0)\", 'message: Your h2 element should be red.');" + "assert(code.match(/\\s*CatPhotoApp\\s*<\\/h2>/) || code.match(/\\s*CatPhotoApp\\s*<\\/h2>/), 'message: Your h2 element should be red.');" ], "type": "waypoint", "challengeType": 0,