.remove()
that will remove an HTML element entirely
Remove element target4
from the page by using the .remove()
function.
target4
element from your page.
testString: assert($("#target4").length === 0 && code.match(/\$\(["']#target4["']\).remove\(\)/g));
- text: You should only use jQuery to remove this element.
testString: assert(code.match(/id="target4/g) && !code.match(//g) && $("#right-well").length > 0);
```