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 ad7581cfe4..226158a26d 100644 --- a/challenges/01-front-end-development-certification/html5-and-css.json +++ b/challenges/01-front-end-development-certification/html5-and-css.json @@ -2411,7 +2411,7 @@ "tests": [ "assert($(\"form\") && $(\"form\").children(\"input\") && $(\"form\").children(\"input\").length > 0, 'message: Nest your text input element within a form element.');", "assert($(\"form\").attr(\"action\") === \"/submit-cat-photo\", 'message: Make sure your form has an action attribute which is set to /submit-cat-photo');", - "assert(code.match(/<\\/form>/g) && code.match(/
/g).length === code.match(/form element has a closing tag.');" + "assert(code.match(/<\\/form>/g) && code.match(//g) && code.match(/<\\/form>/g).length === code.match(//g).length, 'message: Make sure your form element has well-formed open and close tags.');" ], "type": "waypoint", "challengeType": 0,