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) Understanding Values and Units Color Values

Immanuel Jaeggi
Immanuel Jaeggi
5,164 Points

Problem with hex values

When I added the #ffa949 value to the 3 declaration blocks, they didn`t turn up orange. Any ideas?

Here is the code:

.main-header { background-color: #ffa949; }

main-footer {

padding-top: 60px;
padding-bottom: 60px;
border-bottom: solid 10px #ffa949;

a:link { color: #ffa949;

1 Answer

Stuart Wright
Stuart Wright
41,120 Points

It looks like you might be missing the closing curly brace. Every opening { needs a closing }, so for example, you would need:

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

Edit to add, looks like you also missed the # before main-footer, you need this because it is an id.