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 trialcolin cairns
325 Pointswhen 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
doesitmatter
12,885 PointsTry 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.
colin cairns
325 PointsI 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.
doesitmatter
12,885 PointsNext time post the full code ;)
colin cairns
325 Pointscolin cairns
325 PointsThis doesn't resolve the problem. My code is at the top of the document below the first <link> tab.
doesitmatter
12,885 Pointsdoesitmatter
12,885 Pointsplace it all the way at end of
<head>