From 0d9d489bbb3610d6b6930ef5bb03bb7db60abb92 Mon Sep 17 00:00:00 2001 From: Harsha Date: Sat, 5 Dec 2015 15:54:43 -0500 Subject: [PATCH] fix regex to test h1 tag spanning multiple lines --- 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 9946331d4a..da246fe22c 100644 --- a/challenges/html5-and-css.json +++ b/challenges/html5-and-css.json @@ -3660,7 +3660,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.');" ], "challengeSeed": [