Exercise:

Add a red color to all previous sibling elements of <h2>.

Hint: Use the prevAll() method.

Edit This Code:
Result:
Correct Code:
Correct Result:
Exercise - © subhodaya.com