From 02b25dfd3e1736811e30c63ae9682171d1364d83 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Tue, 18 Aug 2015 01:07:09 -0700 Subject: [PATCH] fix 1705 --- 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 1539cd45b9..b7a82a256c 100644 --- a/challenges/html5-and-css.json +++ b/challenges/html5-and-css.json @@ -381,7 +381,7 @@ ], "tests": [ "assert(!$(\"h2\").attr(\"style\"), 'Remove the style attribute from your h2 element.')", - "assert(($(\"style\").length > 1), 'Create a style element.')", + "assert($(\"style\") && $(\"style\").length > 1, 'Create a style element.')", "assert($(\"h2\").css(\"color\") === \"rgb(0, 0, 255)\", 'Your h2 element should be blue.')", "assert(editor.match(/<\\/style>/g) && editor.match(/<\\/style>/g).length === editor.match(/