From 3f9b0e38f6585cb67abcdb29f9761d7348c3b18d Mon Sep 17 00:00:00 2001 From: boyinstruggle Date: Mon, 27 Feb 2017 21:37:30 +0800 Subject: [PATCH] Created distinction between last two tests and tweaked assertion test --- challenges/01-responsive-web-design/basic-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/01-responsive-web-design/basic-css.json b/challenges/01-responsive-web-design/basic-css.json index 2a8db347ba9..d07445f8467 100644 --- a/challenges/01-responsive-web-design/basic-css.json +++ b/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(document.querySelector('h1[style]'), 'message: Give your h1 element an inline style.');", "assert($(\"h1\").css(\"color\") === \"rgb(255, 255, 255)\", 'message: Your h1 element should be white.');" ], "type": "waypoint",