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

HTML How to Make a Website CSS: Cascading Style Sheets What is CSS?

when I type in code it does not update in browser

The color does not change when I enter :

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

2 Answers

Try placing <style> footer { color: green; } </style> below the other <link> tags which link to css. Then you will see the footers foreground color turn green. If you place it above the other <link> tags which link to css, it will be overwritten. This is how css works.

Example:

h1{
    color:red;
    color:green;
}

h1's color will be green.

This doesn't resolve the problem. My code is at the top of the document below the first <link> tab.

place it all the way at end of <head>

I found the problem and resolved it. I had entered <p>Ā© 2017</p> inside <a></a> at end of document. I moved it below <a></a> and just above </footer> and it now works! Thanks for your suggestion, First Last.

Next time post the full code ;)