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 Reusing Classes

Aurélien Boichat
Aurélien Boichat
1,214 Points

I'cant see any change on my web page. All my CSS style, color, margin,background-color etc are in red? please help

body{ color: #878787; margin: 0;

} .main-header{ background-color: orange; } h1{ font-size: 90px; color: white; } h2 { font-size: 53px;

} h3 { font-size: 20px; color: #48525c; }

.primary-content { text-align:center; }

.secondary-content{ border-top: 2px solid

}

#main-footer{ padding-top: 60px; padding-bottom: 60px; border-bottom: solid 10 px orange;

}

2 Answers

Steven Parker
Steven Parker
231,269 Points

There's no red color in this CSS, the closest color is orange. But CSS doesn't act alone, it works with HTML (and possibly JavaScript). So for a complete analysis, you would need to show all the code.

A great way to share the entire project is to make a snapshot of your workspace and post the link to it here.

Aurélien Boichat
Aurélien Boichat
1,214 Points

Thanks for the help Steven! Yes orange is the color ,maybe i have some color vision deficiency. https://w.trhou.se/ehmlvx2nmh

Steven Parker
Steven Parker
231,269 Points

I'm not seeing what you describe. When I open the project, I only see the orange background in the header area (where the large title is). The rest of the page body has a typical white background. This is consistent with what I see in the CSS.

Can you try a different browser?