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 trialJosh Stone
2,096 Pointshow to make a website
could someone provide the answer to task 3 so i can continue learning ive been stuck on this for 2 hours
Josh Stone
2,096 PointsHow to Make a Website 503-minute HTML Course write a css selector and a property is the task i'm stuck on thats the 3rd task its the 5th cirlce in the very begining of the course Beginning HTML and CSS
elk6
22,916 PointsYes, i understand that. But where in that course are you? There are several stages in the course, all having a number of quizes and task.
Can you give us the name of the quiz or task you are stuck on? Or write down the question itself?
Josh Stone
2,096 Pointswrite a css selector and a property the 3rd task is Nice! Finally, set the color of the h1 element to green.
2 Answers
elk6
22,916 PointsFirst, you write the style tags. Like this:
<style></style>
Within, you write a css decloration to select the h1 tag, like this:
<style>
h1 {
}
</style>
Then, you make the color of the h1 green, like this:
<style>
h1 {
color: green;
}
</style>
<h1>Nick Pettit</h1>
Josh Stone
2,096 Pointsthank you so much now i can move forward
elk6
22,916 PointsNo, problem. Always happy to help. :)
Remember to write down the question you are stuck on next time. Makes it possible for us to help you.
And have fun with the rest of the course!
Vedang Thakur
Courses Plus Student 164 Points<style> h1 { color: green; } </style> <h1>Nick Pettit</h1> This is correct
elk6
22,916 Pointselk6
22,916 PointsHi Josh,
Could you tell us where you are and to what task you need the answer to? There are mutliple quizes and tasks in the "How to make a website" course.