Exercise:

Add a red color to the direct parent AND grandparent of <span>.

Hint: Use the parentsUntil() method.

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