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 trialCynthia S. Burgener
512 PointsChallenge task 2 of 3
Now, write CSS that will select the h1. Perhaps I have bitten off more than I can chew. I do not understand. The h1 was the element selector. Am I selecting h1 to also turn the color blue? Sorry, so new at this, don't mean to sound stupid.Cynthia
3 Answers
Cynthia S. Burgener
512 PointsThanks Richard, still not sure I understand. I am going to walk away from this for awhile and think about it. Perhaps it will help. Cynthia
Richard Duffy
16,488 PointsAnything inside the selector that you define will change to the setting you have typed, don't feel stupid we were all there once :),
h1 {
color: blue;
}
This will select all the pages h1 elements to do it inside another element you do it like this:
.box h1 {
color: blue;
}
This is just an example you can use any classes or id's.
Dov Breuer
8,268 PointsYou probably want to try the first example Richard provided