Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Josh Stone
Josh Stone
2,096 Points

how 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

Hi 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.

Josh Stone
Josh Stone
2,096 Points

How 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

Yes, 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
Josh Stone
2,096 Points

write a css selector and a property the 3rd task is Nice! Finally, set the color of the h1 element to green.

2 Answers

First, 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
Josh Stone
2,096 Points

thank you so much now i can move forward

No, 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!

<style> h1 { color: green; } </style> <h1>Nick Pettit</h1> This is correct