make changes suggested by @ahstro
parent
690369f76a
commit
a9bea09cc9
|
@ -160,7 +160,8 @@
|
|||
"Make all the <code>button</code> element with the id \"target3\" fadeOut. <code>$(\"#target3\").addClass(\"animated fadeOut\")</code>."
|
||||
],
|
||||
"tests": [
|
||||
"assert($(\"#target3\").hasClass(\"animated\") && $(\"#target3\").hasClass(\"fadeOut\"), 'Select the <code>button</code>element with the <code>id</code> of \"target3\" and use the jQuery <code>addClass()</code> function to give it the classes of \"animated\" and \"fadeOut\".');",
|
||||
"assert($(\"#target3\").hasClass(\"animated\"), 'Select the <code>button</code>element with the <code>id</code> of \"target3\" and use the jQuery <code>addClass()</code> function to give it the class of \"animated\".');",
|
||||
"assert($(\"#target3\").hasClass(\"fadeOut\"), 'Target the element with the id <code>target3</code> and use the jQuery <code>addClass()</code> function to give it the class \"fadeOut\".')",
|
||||
"assert(!editor.match(/class.*animated/g), 'Only use jQuery to add these classes to the element.');"
|
||||
],
|
||||
"challengeSeed": [
|
||||
|
|
Loading…
Reference in New Issue