From b4b24b0b3ca8215ae26c06c54dc16b4e0a7a7088 Mon Sep 17 00:00:00 2001 From: Chris Moore Date: Mon, 18 Jan 2016 22:05:19 -0800 Subject: [PATCH] Fix #6299. The validation should accept the first 2 words if we're going to request "the first few words". The 3rd word shouldn't be required. --- .../01-front-end-development-certification/html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e91ac8247f..9e491cab5f 100644 --- a/challenges/01-front-end-development-certification/html5-and-css.json +++ b/challenges/01-front-end-development-certification/html5-and-css.json @@ -215,7 +215,7 @@ "

Hello Paragraph

" ], "tests": [ - "assert.isTrue((/Kitty(\\s)+ipsum(\\s)+dolor/gi).test($(\"p\").text()), 'message: Your p element should contain the first few words of the provided kitty ipsum text.');" + "assert.isTrue((/Kitty(\\s)+ipsum/gi).test($(\"p\").text()), 'message: Your p element should contain the first few words of the provided kitty ipsum text.');" ], "type": "waypoint", "challengeType": 0,