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 trialIvy Grad
Courses Plus Student 166 Pointsdont 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.
1 Answer
Chris Malcolm
2,909 PointsOh 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}
<style>
h1{
/* css info here */
}
</style>
Chris Malcolm
2,909 PointsChris Malcolm
2,909 Pointswhats the question in the challenge?