From d1d1b2015b237c752400129cf117997bb160d3ea Mon Sep 17 00:00:00 2001 From: dokkillo Date: Thu, 20 Aug 2015 00:13:06 +0200 Subject: [PATCH] issue #2099 --- challenges/html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/html5-and-css.json b/challenges/html5-and-css.json index b7a82a256c..7d4aeff61e 100644 --- a/challenges/html5-and-css.json +++ b/challenges/html5-and-css.json @@ -3387,7 +3387,7 @@ "assert($(\"h1\").hasClass(\"blue-text\"), 'Your h1 element should have the class blue-text.')", "assert($(\"h1\").attr(\"id\") === \"orange-text\", 'Your h1 element should have the id of orange-text.')", "assert(editor.match(/ 0, 'Your h1 element should have the inline style of color: white.')", - "assert(editor.match(/pink.*\\!important/gi) && editor.match(/pink.*\\!important;/gi).length > 0, 'Your pink-text class should have the !important keyword to override all other declarations.')", + "assert(editor.match(/pink.*\\!important;/gi), 'Your pink-text class should have the !important keyword to override all other declarations.')", "assert($(\"h1\").css(\"color\") === \"rgb(255, 192, 203)\", 'Your h1 element should be pink.')" ], "challengeSeed": [