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 How to Make a Website CSS: Cascading Style Sheets What is CSS?

Style Footer Color

I added the following but it's not displaying even after I refresh:

<style> footer { color: green; } footer { color: organe; } </style>

1 Answer

Try this instead :)

<style>
footer {
    color: green;
  }
  footer {
    color: orange;
  }
</style>

And if that does not work, try this!

<style>
footer p {
    color: green;
  }
  footer p {
    color: orange;
  }
</style>

But you should only specify the footer color once, because the second code where you specify orange, will overwrite the other one. so the color will not be green it will be orange! :)

Hope this helps!

// Erdrag