diff --git a/challenges/01-front-end-development-certification/html5-and-css.json b/challenges/01-front-end-development-certification/html5-and-css.json index 0c74ff2772..2611252abe 100644 --- a/challenges/01-front-end-development-certification/html5-and-css.json +++ b/challenges/01-front-end-development-certification/html5-and-css.json @@ -809,7 +809,7 @@ "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:eq(0)\").attr(\"class\") === \"red-text\", 'message: The first p element should have the class red-text.');", "assert($(\"p:eq(1)\").attr(\"class\") === undefined, 'message: Do not add a class attribute to the second p element.');", - "assert(parseInt($(\"p:not([class])\").css(\"font-size\"), 10) > 15, 'message: Between the style tags, give the p elements font-size of 16px. Browser and Text zoom should be at 100%.');" + "assert(code.match(/p\\s*{\\s*font-size\\s*:\\s*16\\s*px\\s*;\\s*}/i), 'message: Between the style tags, give the p elements font-size of 16px. Browser and Text zoom should be at 100%.');" ], "type": "waypoint", "challengeType": 0,