diff --git a/seed/challenges/html5-and-css.json b/seed/challenges/html5-and-css.json index 188f63b6a5..85fb8ff6e3 100644 --- a/seed/challenges/html5-and-css.json +++ b/seed/challenges/html5-and-css.json @@ -1258,8 +1258,8 @@ "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(new RegExp('#').test($('a').children('img').parent().attr('href')), 'Your a element should be a dead link with a href attribute set to \"#\".')", - "assert($('a').children('img').length > 0, 'Nest your image element within an a element.')", "assert(editor.match(/<\\/a>/g) && editor.match(//g).length === editor.match(/a elements has a closing tag.')" ], "challengeSeed": [