Exercise:
Add a red color to all sibling elements of <h2> that are <p> elements.
ヒント:siblings() メソッドを使用します。
Edit This Code:
See Result »
div (parent)
p
span
h2
h3
p
Result:
Show Answer
Correct Code:
div (parent)
p
span
h2
h3
p
Correct Result:
Hide Answer