--- id: bad87fee1348bd9aed708826 title: Remueve un elemento usando jQuery challengeType: 6 forumTopicId: 18262 dashedName: remove-an-element-using-jquery --- # --description-- Ahora vamos a eliminar un elemento HTML de su página utilizando jQuery. jQuery tiene una función llamada `.remove()` que eliminará completamente un elemento HTML Remueve el elemento `#target4` de la página utilizando la función `.remove()`. # --hints-- Debes utilizar jQuery para remover tu elemento `target4` de tu página. ```js assert( $('#target4').length === 0 && code.match(/\$\(["']#target4["']\).remove\(\)/g) ); ``` Solo debes utilizar jQuery para remover este elemento. ```js assert( code.match(/id="target4/g) && !code.match(//g) && $('#right-well').length > 0 ); ``` # --seed-- ## --seed-contents-- ```html