diff --git a/challenges/basic-html5-and-css.json b/challenges/basic-html5-and-css.json index 61b29ed4d5..d18ace104b 100644 --- a/challenges/basic-html5-and-css.json +++ b/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": [ "