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 CSS: Cascading Style Sheets Use ID Selectors

hello im stuck on the web design track. Im trying to change the background color of web page through css

I've looked through the code many times and it looks right but it won't work I'm totally lost

3 Answers

Make sure you have your stylesheet loaded properly in your index.html document. I constantly forget to go and link up my stylesheet, or I will do it but mistype something.

<link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/main.css">

this is how i have it linked in my index.html document, does it look right?

Can you copy and paste your CSS code?

Should be as simple as:

body { background-color: red; }

Maybe it's because I'm looking at this on my phone, but I don't see anything. I'll check back on a computer in a bit.

john herron did you figure this out?

yea i got it working finally funny thing is i didn't change anything from before code wise and now its working all of the sudden, thanks for the follow up