This should be yellow, as this will inherit property of div.

This should be blue, as this is even child of type p.

This should be yellow, as this will inherit property of div.

This should be yellow, as it odd child of its own type.
This should be green, as this is 2nd child of its own type.

This should be green, as this will inherit property of div.

This should be blue, as this is the even child of div.

This should be green, as this is the odd child of its own type.

This should be blue, as this is the even child of paragraph.

This should be yellow, as this odd child of its own type.

This should be yellow,as this inherit property of div.

This should be red,as this is the second child of div This should be green, as this is the second child of its own type
This should be yellow,as this will inherit property of div i.e yellow as odd of its own type and this should be green and italic