Selecting by element position in CSS

:nth-child:nth-last-child
Задание 1

Select third elements from the beginning:

Задание 2

Select even and odd elements:

Задание 3

Select every third element:

Задание 4

Select the second element from the end: