Pseudo-class :header in jQuery

The pseudo-class header selects all headings from h1 to h6 at once.

Let's use the following example to get and color all headings with the class www in blue:

javascript$(':header.www').css('color', 'blue');
Задание 1

Get and color all the headings red.

Задание 2

Get and color red all headings with class zzz.

Задание 3

Get and color in red all the headings that immediately follow the titles.

Задание 4

Get and color red all headings with class test that immediately follow headings with class test.