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 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,497 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!