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

Am lost

How do i add style

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

3 Answers

Take a look at this demo play around with it to get the hang of it. Don't worry you are still at the very start of the course you should be able to understand it more and more as the videos go on. Many times it's good to look at them 2-3times if you don't understand it. Good luck let me know if you still need more help

You want to look at the internal css part of the link I gave you. I find it that its best not to give out answers right away it's always better when you find it yourself. After some help on where to find it of course. To me it helps me remember things better. But if you still don't see if I can give it to you.

Thank you check it out again will let you know

I am logging off for the night just incase you still have not solved the issue below is the solution. You should have by the end.

<body>
<style>
h1{
Color:green
}
</style>
<h1>nick</h1>
</body>

Remember that for every html tag that you open you have to have a closing tag for it.

Thanks mate i got it