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!

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

HTML How to Make a Website Beginning HTML and CSS Write a CSS Selector and Property

dont understand challenge task 2 of 3 write a css selector

didn't follow while watching the video. just watched video. now I don't understand how to complete challenge task 2 of 3 css selector.

Chris Malcolm
Chris Malcolm
2,909 Points

whats the question in the challenge?

1 Answer

Chris Malcolm
Chris Malcolm
2,909 Points

Oh i see you need to insert style tags and then:

base elements (a, h1, etc) = tag name ex. a{ color: blue} or h1{background:black}

classes = .className ex. .myClass{color: blue}

ids = #idName ex.#myId{color: blue}

/* css info here */