diff --git a/seed/challenges/01-responsive-web-design/basic-css.json b/seed/challenges/01-responsive-web-design/basic-css.json index 95628d1d82..c0f09e5062 100644 --- a/seed/challenges/01-responsive-web-design/basic-css.json +++ b/seed/challenges/01-responsive-web-design/basic-css.json @@ -50,6 +50,7 @@ "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>", + "Note that it is a good practice to end inline style declarations with a ; .", "
", "Change your h2 element's style so that its text color is red." ], @@ -87,7 +88,8 @@ "" ], "tests": [ - "assert(code.match(/\\s*CatPhotoApp\\s*<\\/h2>/), 'message: Your h2 element should be red.');" + "assert(code.match(/\\s*CatPhotoApp\\s*<\\/h2>/), 'message: Your h2 element should be red.');", + "assert(code.match(/\\s*CatPhotoApp\\s*<\\/h2>/),' message: Your style declaration should end with a ; .');" ], "type": "waypoint", "challengeType": 0,