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

Miriam Allman
PLUS
Miriam Allman
Courses Plus Student 1,761 Points

what am I doing wrong - I keep getting an error message

Next, give the .wildlife div a solid, orange top border that's 10px wide.

.wildlife { border-top: solid; border-color: #ffa949; border-width: 10px; }

2 Answers

Steven Parker
Steven Parker
231,264 Points

I would expect that when they asked for "orange", they meant that you should use the actual word for the color instead of setting a number that looks orange.

It's also possible that they expect you to use the "border" shorthand to set all the properties on one line, but I can't confirm that without a link to the page you are working with.

There's actually 147 different colors that can be used by name instead of number. Here is a cute demo.

Miriam Allman
PLUS
Miriam Allman
Courses Plus Student 1,761 Points

Steven,

Thank you - you are absolutely correct.

Miriam