jQuery remove method
There are two methods for removing elements in jQuery: remove and detach.
The remove method removes elements permanently.
Let's say we have the following HTML code:
html<p class="www">text</p>
<p class="www">text</p>
<p class="www">text</p>
<p>text</p>
Let's remove p with class www:
javascript$('p').remove('.www');
HTML the code will look like this:
html<p>text</p>
Or you can do it like this:
javascript$('p.www').remove();
Задание 1
Remove all h2 with class zzz.