From 3955767c793e879a11353576c0356d2325aa2ba1 Mon Sep 17 00:00:00 2001 From: benmcmahon100 Date: Wed, 1 Jul 2015 15:16:44 +0100 Subject: [PATCH] solution to issue #1173 this solution may also be needed for some of the other css-based challenges --- seed/challenges/basic-html5-and-css.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seed/challenges/basic-html5-and-css.json b/seed/challenges/basic-html5-and-css.json index 61b29ed4d5c85b..d18ace104bc813 100644 --- a/seed/challenges/basic-html5-and-css.json +++ b/seed/challenges/basic-html5-and-css.json @@ -492,7 +492,8 @@ ], "tests": [ "assert($('h2').css('color') === 'rgb(255, 0, 0)', 'Your h2 element should be red.')", - "assert($('h2').hasClass('red-text'), 'Your h2 element should have the class \"red-text\".')" + "assert($('h2').hasClass('red-text'), 'Your h2 element should have the class \"red-text\".')", + "assert($('h2').attr('style') == undefined, 'Please make sure there is no inline style = in you h2 and change the color by using the css class red-text ')" ], "challengeSeed": [ "