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 trialWilliam Clements
4,722 PointsPossible Bug In Code
As far as I can tell I have all of the coding exactly the same as it is described in the video, but I cannot get the red border from the div id, or the orange bottom in the footer id. Here's what I have coded in the stylesheet, and everything in the HTML document is exactly the same as in the video:
primary-content {
border: 3px solid red; }
main-footer {
padding-top: 60px; padding-bottom: 60px; border-bottom: solid 10px orange; }
1 Answer
Shawn Flanigan
Courses Plus Student 15,815 PointsWilliam: Glad it sorted itself out! Are you sure you were saving your changes before previewing? I find it's pretty easy to forget.
William Clements
4,722 PointsI save after every change to code, so it couldn't have been an issue with that. I know I read a few other discussions where people had the same issues a few months ago. Still not sure what the issue was exactly, but at least everything is working now!
Shawn Flanigan
Courses Plus Student 15,815 PointsNice. Good habit to get into. I'll try to take a look at the challenge later and see if I can figure out what's going on. Keep up the good work!
William Clements
4,722 PointsWilliam Clements
4,722 PointsUPDATE: the issue magically went away around halfway through the next video as I started doing the secondary-content class coding. I don't know why this magically changed the footer id or the primary-content class, but it did. Just an FYI for anyone else who experiences this issue.
Make sure your code matches the video and keep going, because the issue may resolve itself in the next video (maybe slow loading times or something?)