.remove()
que remove um elemento HTML inteiramente. Remova o elemento target4
da página usando a função .remove()
.target4
da sua página.
testString: 'assert($("#target4").length === 0 && code.match(/\$\([""]#target4[""]\).remove\(\)/g), "Use jQuery to remove your target4
element from your page.");'
- text: Use apenas o jQuery para remover este elemento.
testString: 'assert(code.match(/id="target4/g) && !code.match(//g) && $("#right-well").length > 0, "Only use jQuery to remove this element.");'
```