diff --git a/seed/challenges/html5-and-css.json b/seed/challenges/html5-and-css.json index b93a1de494..4116da5f20 100644 --- a/seed/challenges/html5-and-css.json +++ b/seed/challenges/html5-and-css.json @@ -3287,6 +3287,8 @@ "assert($(\"h1\").hasClass(\"pink-text\"), 'Your h1 element should have the class pink-text.')", "assert($(\"h1\").hasClass(\"blue-text\"), 'Your h1 element should have the class blue-text.')", "assert($(\"h1\").attr(\"id\") === \"orange-text\", 'Give your h1 element the id of orange-text.')", + "assert(editor.match(/#orange-text\\s*{/gi), 'Create a CSS declaration for your orange-text id')", + "assert(!editor.match(//gi), 'Do not give your h1 any style attributes.')", "assert($(\"h1\").css(\"color\") === \"rgb(255, 165, 0)\", 'Your h1 element should be orange.')" ], "challengeSeed": [