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