jQuery Neighbor Selector
Using jQuery, you can select elements p that are after h3 and are its siblings:
javascript$('h3 ~ p');
This selector can also be used to select p elements that follow h3 directly and are its neighbors:
javascript$('h3 + p');
Задание 1
Obtain and color red all adjacent a that follow h2.
Задание 2
Get and color in red all the paragraphs that immediately follow the paragraphs.
Задание 3
Get and color red all li that immediately follow li with class www.