diff --git a/seed/challenges/html5-and-css.json b/seed/challenges/html5-and-css.json index fd8f176d7e..8c2623bbee 100644 --- a/seed/challenges/html5-and-css.json +++ b/seed/challenges/html5-and-css.json @@ -580,7 +580,7 @@ "assert($(\"p\").length > 1, 'message: You need 2 p elements with Kitty Ipsum text.');", "assert(code.match(/<\\/p>/g) && code.match(/<\\/p>/g).length === code.match(/

p elements has a closing tag.');", "assert.isTrue((/Purr\\s+jump\\s+eat/gi).test($(\"p\").text()), 'message: Your p element should contain the first few words of the provided additional kitty ipsum text.');", - "assert($(\"p\").css(\"font-size\") === \"16px\", 'message: Give elements with the p tag a font-size of 16px.');" + "assert($(\"p:eq(0)\").css(\"font-size\") === \"16px\" && $(\"p:eq(1)\").css(\"font-size\") === \"16px\", 'message: Give elements with the p tag a font-size of 16px.')" ], "challengeSeed": [ "