--- id: bad87fee1348bd9aed708826 title: Remove an Element Using jQuery challengeType: 6 videoUrl: '' localeTitle: Eliminar un elemento usando jQuery --- ## Description
Ahora eliminemos un elemento HTML de su página usando jQuery. jQuery tiene una función llamada .remove() que eliminará un elemento HTML. Quite completamente el elemento target4 de la página mediante el uso de la función .remove() .
## Instructions
## Tests
```yml tests: - text: Usa jQuery para eliminar tu elemento target4 de tu página. testString: 'assert($("#target4").length === 0 && code.match(/\$\([""]#target4[""]\).remove\(\)/g), "Use jQuery to remove your target4 element from your page.");' - text: Solo usa jQuery para eliminar este elemento. testString: 'assert(code.match(/id="target4/g) && !code.match(//g) && $("#right-well").length > 0, "Only use jQuery to remove this element.");' ```
## Challenge Seed
```html

jQuery Playground

#left-well

#right-well

```
## Solution
```js // solution required ```