From 3bcb72d6a617915308bd2f9bf0f182e83a4c2c61 Mon Sep 17 00:00:00 2001 From: boyinstruggle Date: Fri, 24 Feb 2017 22:21:17 +0800 Subject: [PATCH] Amended regex to properly validate inline-style --- seed/challenges/01-responsive-web-design/basic-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/01-responsive-web-design/basic-css.json b/seed/challenges/01-responsive-web-design/basic-css.json index 4ca05c3948..2a8db347ba 100644 --- a/seed/challenges/01-responsive-web-design/basic-css.json +++ b/seed/challenges/01-responsive-web-design/basic-css.json @@ -2967,7 +2967,7 @@ "assert($(\"h1\").hasClass(\"pink-text\"), 'message: Your h1 element should have the class pink-text.');", "assert($(\"h1\").hasClass(\"blue-text\"), 'message: Your h1 element should have the class blue-text.');", "assert($(\"h1\").attr(\"id\") === \"orange-text\", 'message: Your h1 element should have the id of orange-text.');", - "assert(code.match(/h1 element the inline style of color: white.');", + "assert(code.match(/h1 element the inline style of color: white.');", "assert($(\"h1\").css(\"color\") === \"rgb(255, 255, 255)\", 'message: Your h1 element should be white.');" ], "type": "waypoint",