diff --git a/seed/challenges/jquery.json b/seed/challenges/jquery.json
index f2dfcb08e1..cd059066b1 100644
--- a/seed/challenges/jquery.json
+++ b/seed/challenges/jquery.json
@@ -161,7 +161,7 @@
],
"tests": [
"assert($(\"#target3\").hasClass(\"animated\"), 'Select the button
element with the id
of target3
and use the jQuery addClass()
function to give it the class of animated
.');",
- "assert($(\"#target3\").hasClass(\"fadeOut\") || $(\"#target3\").hasClass(\"fadeout\"), 'Target the element with the id target3
and use the jQuery addClass()
function to give it the class fadeOut
.')",
+ "assert(($(\"#target3\").hasClass(\"fadeOut\") || $(\"#target3\").hasClass(\"fadeout\")) && editor.match(/\\$\\(.#target3.\\)/g), 'Target the element with the id target3
and use the jQuery addClass()
function to give it the class fadeOut
.');",
"assert(!editor.match(/class.*animated/g), 'Only use jQuery to add these classes to the element.')"
],
"challengeSeed": [