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.

CSS CSS Basics (2014) Basic Selectors Type Selectors

Nadeem Ahmed
Nadeem Ahmed
10,125 Points

Putting Body at beginning of CSS does not work

I have my body selector at the beginning of the css doc, I've applied the properties in the video, but there are no changes to the doc when I refresh?

4 Answers

Cindy Lea
PLUS
Cindy Lea
Courses Plus Student 6,485 Points

''' We need to see code. Moving things around sometimes can have an impact, but it usually is more apparent in the html file '''

Nadeem Ahmed
Nadeem Ahmed
10,125 Points

body { color: #878787; margin:0; }

header { background-color: orange; }

h1 { font-size: 90px; color: white; }

h2 { font-size: 53px; }

h3 { font-size:20px; color: grey; }

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

It's going to be easiest to troubleshoot this if we can see a snapshot of your workspace.

But before we do that, let's check some basics. Make sure that you've saved all your files. Refresh your page after you load the preview, and if that still doesn't work try clearing your browser cache and then reloading the page.

If all those fail, we're going to need to see the snapshot :sparkles:

Nadeem Ahmed
Nadeem Ahmed
10,125 Points

I've sorted the issue out, it was due to comments thanks for the help!