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

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

what am i suppose to do

i understand what im suppose to do but i dont understand this part its kind of confusing and it does really explain what to do maybe you guys can help me understand this more please

1 Answer

Jason Cook
Jason Cook
11,403 Points

That particular code challenge is based on the preceeding lesson ("Add Style to the Page"). This is essentially to review that you understand the basic concept of adding internal styles to elements. I recommend that you click on the left arrow in the right corner of that screen to bring the previous video back up and watch that segment again. However, your code should look something like this (below), where you would replace the ellipsis with your own CSS code.

<body>
   <style>
     ...
   </style>
   <h1>Nick Pettit</h1>
</body>

In summary, the purpose of this internal CSS block is to modify the display properties of the h1 element and therefore effectively changing how the name displays (e.g. changing the color of the displayed name). I hope this helps, if not just let me know and I'll respond back.