--- id: bad87fee1348bd9aed708826 title: Remove an Element Using jQuery challengeType: 6 videoUrl: '' localeTitle: Remover um elemento usando jQuery --- ## Descrição
Agora vamos remover um elemento HTML da sua página usando jQuery. jQuery tem uma função chamada .remove() que remove um elemento HTML inteiramente. Remova o elemento target4 da página usando a função .remove().
## Instruções
## Testes
```yml tests: - text: Use jQuery para remover seu elemento 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.");' ```
## Desafio
```html

jQuery Playground

#left-well

#right-well

```
## Solução
```js // solution required ```