diff --git a/seed/challenges/jquery.json b/seed/challenges/jquery.json
index f2eb8fd7ef..b3f44a1fc9 100644
--- a/seed/challenges/jquery.json
+++ b/seed/challenges/jquery.json
@@ -161,8 +161,8 @@
"Here's how you'd make the button
element with the id target6
fade out: $(\"#target6\").addClass(\"animated fadeOut\")
."
],
"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(\"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\")) && 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": [