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 trial

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

how do i do this question?

i have no clue what the question is, can some one help me please.

index.html
Joseph Barrera<body>
    <h1>Nick Pettit</h1>
</body>

3 Answers

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

Hi Joseph,

Have you watched the video before doing the code challenge?

It's asking you to write a style element before the h1 tag.

You learn all about this in the previous video.

Chris Higgins
Chris Higgins
6,813 Points
<body>
    <h1>Joseph Barrera</h1>
</body>

The first question is asking you to add style tags above h1 element.

<body>
<style></style>
    <h1>Joseph Barrera</h1>
</body>

The next is asking you to write in css. to select the h1 element. and then finally to style in to green.

<body>
<style>
h1 {
    color: green;
}
</style>
    <h1>Joseph Barrera</h1>
</body>

First of all: there will NEVER be something else before the body-tag except the head-tag. So you maybe should replace "Nick Pettit" with your name. And if I'm right the task is to add a style-tag before the h1.

<body>
  <style>
  </style>
  <h1>Joseph Barrera</h1>
</body>

That's it. Hope I could help. ~J