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

HTML How to Make a Website CSS: Cascading Style Sheets Use ID Selectors

Toyo Garber
Toyo Garber
302 Points

link to main.css sheet isn't working

I've double checked my link to main.css and am unable to find the issue. When I'm attempting to change the background color of my web page, nothing is happening. Ideas?

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Non-GMO Project | Retailers</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/main.css"> </head>

1 Answer

Steven Parker
Steven Parker
231,269 Points

Check to be sure that "main.css" is in the "css" subfolder. And then, what's in it that would change colors? Try sharing the CSS code also, or make a snapshot of your workspace and post the link to it here to share everything at once.

Toyo Garber
Toyo Garber
302 Points

Thank you, figured it out!