diff --git a/challenges/html5-and-css.json b/challenges/html5-and-css.json index da246fe22c..443c796409 100644 --- a/challenges/html5-and-css.json +++ b/challenges/html5-and-css.json @@ -3544,6 +3544,7 @@ "tests": [ "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($(\".pink-text\").hasClass(\"blue-text\"), 'message: Both blue-text and pink-text should belong to the same h1 element.');", "assert($(\"h1\").css(\"color\") === \"rgb(0, 0, 255)\", 'message: Your h1 element should be blue.');" ], "challengeSeed": [