diff --git a/seed/challenges/01-front-end-development-certification/jquery.json b/seed/challenges/01-front-end-development-certification/jquery.json index ba8f03d314..7fc4c92739 100644 --- a/seed/challenges/01-front-end-development-certification/jquery.json +++ b/seed/challenges/01-front-end-development-certification/jquery.json @@ -930,8 +930,8 @@ "" ], "tests": [ - "assert($(\"#target4\").length === 0, 'message: Use jQuery to remove your target4 element from your page.');", - "assert(code.match(/id=\"target4/g), 'message: Only use jQuery to remove this element.');" + "assert($(\"#target4\").length === 0 && code.match(/\\$\\([\"']#target4[\"']\\).remove\\(\\)/g), 'message: Use jQuery to remove your target4 element from your page.');", + "assert(code.match(/id=\"target4/g) && !code.match(//g) && $(\"#right-well\").length > 0, 'message: Only use jQuery to remove this element.');" ], "type": "waypoint", "challengeType": 0,