Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Basics Basic Selectors Descendant Selectors

Naoki Yoshida
Naoki Yoshida
6,984 Points

When applying the "li" selector, the "color: tomato" property doesn't apply to the h3 elements.

When applying the "li" selector, the "color: tomato" property doesn't apply to the h3 elements inside the li like in the video (03:07). Only becomes red the starting point sign. The text still Olive.

Specifically to the h3 lines:

  • Super Web design shop.
  • Pretty Good Websites.

Am I missing something? Please help!

1 Answer

Naoki Yoshida
Naoki Yoshida
6,984 Points

Sorry! I found out why. \

My CSS code what using the universal selector ( * ) to color olive. Later, I could see in a video, the teacher was with the paragraph selector ( p ). That solved the problem.