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 trialRae de Leon
759 PointsHeader background color would not change to green, and text remain white
here is the CSS code:
logo{
text-align: center;
margin: 0;
} a{
color: #6ab47b;
} header {
background: #6ab47b;
border-color: #599a68;
}
2 Answers
Rae de Leon
759 PointsHello! Thanks for your prompt replies, I finally figured out the problem, one of the closing bracket is missing.
Alejandro Narvaja
Courses Plus Student 7,340 PointsIs that nowhere indicate that change the background color. The border-color property is for edges simply.
Ivo Vieira
5,443 PointsHi Alejandro, the "background: #6ab47b;" should change the header background color for green, that's why I asked the workspace snapshot, to see if the error was coming from another place. In the following link you can check the CSS "background" shorthand property: https://www.w3schools.com/css/css_background.asp
Ivo Vieira
5,443 PointsIvo Vieira
5,443 PointsHi Rae de Leon, in order for us to have a better overview, could you please share with us a snapshot of the workspace? The snapshot button is the first icon from the left at the top right corner of the workspace.