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 dc697a898e1..3ad2ac7e598 100644 --- a/challenges/01-front-end-development-certification/html5-and-css.json +++ b/challenges/01-front-end-development-certification/html5-and-css.json @@ -24,7 +24,10 @@ "
h1 element should have the text \"Hello World\".');"
+ {
+ "text": "Your h1 element should have the text \"Hello World\".');",
+ "testString": "assert.isTrue((/hello(\\s)+world/gi).test($('h1').text()), 'Your h1 element should have the text \"Hello World\".');"
+ }
],
"type": "waypoint",
"challengeType": 0,