diff --git a/seed/challenges/01-front-end-development-certification/jquery.json b/seed/challenges/01-front-end-development-certification/jquery.json index d78d273b7e2..4f370984540 100644 --- a/seed/challenges/01-front-end-development-certification/jquery.json +++ b/seed/challenges/01-front-end-development-certification/jquery.json @@ -665,7 +665,8 @@ "assert.isTrue((/#target4<\\/em>/gi).test($(\"#target4\").html()), 'message: Emphasize the text in your target4 button by adding HTML tags.');", "assert($(\"#target4\") && $(\"#target4\").text() === '#target4', 'message: Make sure the text is otherwise unchanged.');", "assert.isFalse((//gi).test($(\"h3\").html()), 'message: Do not alter any other text.');", - "assert(code.match(/\\.html\\(/g), 'message: Make sure you are using .html() and not .text().');" + "assert(code.match(/\\.html\\(/g), 'message: Make sure you are using .html() and not .text().');", + "assert(code.match(/\\$\\(\\s*?(\\\"|\\')#target4(\\\"|\\')\\s*?\\)\\.html\\(/), 'message: Make sure to select button id=\"target4\" with jQuery.');" ], "type": "waypoint", "challengeType": 0,