diff --git a/challenges/html5-and-css.json b/challenges/html5-and-css.json index dd381d9539..0198293d02 100644 --- a/challenges/html5-and-css.json +++ b/challenges/html5-and-css.json @@ -1414,7 +1414,7 @@ "Once you've done this, hover over your image with your cursor. Your cursor's normal pointer should become the link clicking pointer. The photo is now a link." ], "tests": [ - "assert($(\"a\").children(\"img\").length > 0, 'Nest your img element within an a element.')", + "assert($(\"a\").children(\"img.smaller-image\").length > 0, 'Nest the existing img element within an a element.')", "assert(new RegExp(\"#\").test($(\"a\").children(\"img\").parent().attr(\"href\")), 'Your a element should be a dead link with a href attribute set to #.')", "assert(editor.match(/<\\/a>/g) && editor.match(//g).length === editor.match(/a elements has a closing tag.')" ],