--- id: bad87fee1348bd9aed708826 title: Remove an Element Using jQuery challengeType: 6 forumTopicId: 18262 localeTitle: Удаление элемента с помощью jQuery --- ## Description
Теперь давайте удалим HTML-элемент с вашей страницы с помощью jQuery. Функция jQuery имеет функцию .remove() , которая полностью удалит элемент HTML. Удалите элемент target4 со страницы с помощью функции .remove() .
## Instructions
## Tests
```yml tests: - text: Use jQuery to remove your target4 element from your page. testString: assert($("#target4").length === 0 && code.match(/\$\(["']#target4["']\).remove\(\)/g)); - text: Only use jQuery to remove this element. testString: assert(code.match(/id="target4/g) && !code.match(//g) && $("#right-well").length > 0); ```
## Challenge Seed
```html

jQuery Playground

#left-well

#right-well

```
## Solution
```html

jQuery Playground

#left-well

#right-well

```