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 Add Style to the Page

whats the <body> party of the code??????

doing everything like in the video but still cant get through,

6 Answers

Jessica Hansen
Jessica Hansen
8,900 Points

The body HTML tag is where the visible elements on your webpage go. Typically, an HTML page will start with !DOCTYPE html at the very top, then the html, and head tags (don't forget to close them! :), and afterwards, the body tag.The head and body tags are nested inside of the html tag. I hope this helps!

Body tag on W3C: http://www.w3schools.com/tags/tag_body.asp

<style>
   h1 {color: green;}
 </style>
    <h1>edwell muyambo</h1>
Wayne Priestley
Wayne Priestley
19,579 Points

I've edited your code so it appears correct in your post.

Here is a link to explain how to use Markdown to post your code How to post code

If you look at the bottom of the box when your typing a reply you will see Markdown Cheatsheet that will also explain how to post your code.

Hope this helps.

<style> h1 {color: green} </style> <h1>edwell muyambo</h1>

anything im doing wrong with this? whats left

Jessica Hansen
Jessica Hansen
8,900 Points

Do you have that surrounded by style tags?

According to the image above, you are missing the semicolon after the word green - try including it (before the curly bracket). Your code should work now.

yes on top of my h1 tags

Jessica Hansen
Jessica Hansen
8,900 Points

Could you copy and paste your code in a comment please?

<style>

h1 {color: green;}

</style> <h1>edwell muyambo</h1>

Jessica Hansen
Jessica Hansen
8,900 Points

The entire html and css file (if you are using one)

im tryin but its only sending that part only

Jessica Hansen
Jessica Hansen
8,900 Points

Well, as long as the css is between style tags on your html page, or in a separate css file that you have attached, then your markup and styles seem correct. I am not sure what is going on.