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
205,347 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
205,347 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?