button
element with the id
of target3
and use the jQuery addClass()
function to give it the class of animated
.");'
- text: ''
testString: 'assert(($("#target3").hasClass("fadeOut") || $("#target3").hasClass("fadeout")) && code.match(/\$\(\s*.#target3.\s*\)/g), "Target the element with the id target3
and use the jQuery addClass()
function to give it the class fadeOut
.");'
- text: ''
testString: 'assert(!code.match(/class.*animated/g), "Only use jQuery to add these classes to the element.");'
```