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 6334f80c839..37f47ed08aa 100644
--- a/challenges/01-front-end-development-certification/html5-and-css.json
+++ b/challenges/01-front-end-development-certification/html5-and-css.json
@@ -3079,6 +3079,7 @@
],
"tests": [
"assert($(\"h1\").hasClass(\"pink-text\"), 'message: Your h1
element should have the class pink-text
.');",
+ "assert(code.match(/\\.pink-text\\s*\\{\\s*color\\s*:\\s*pink\\s*;\\s*\\}/g), 'message: Your <style>
should have a pink-text
CSS class with its color set to pink.');",
"assert($(\"h1\").css(\"color\") === \"rgb(255, 192, 203)\", 'message: Your h1
element should be pink.');"
],
"type": "waypoint",