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 trialPatrick Stedman
1,598 PointsPreview not reflecting code...
I've been following along with Nick so not sure what the problem is, but some of the changes I've made as we've been building the website haven't been reflected in the code. I've checked it out myself but nothing seems to be different. Anyway I've cleared my cache and it hasn't made a difference. Any help or insight would be appreciated. FYI I'm using Safari as my browser.
2 Answers
chris slaats
5,996 PointsJust had a close look over your code. The only problem i could find was something very simple. You missed a : in your code
/********************************
PAGE: PORTFOLIO
********************************/
#gallery {
margin: 0;
padding 0; <-------
list-style: none;
}
If you look closely its missing in the padding which will mess with your code a bit. fix that little error and see how you go.
Patrick Stedman
1,598 PointsThanks Chris. That was helpful. I think the biggest problem ended up being that my html must have not been saved at some point, so I didn't have my unordered lists identified as gallery anymore in the code. Not sure how that happened but both fixing that and your suggestion helped immensely. Back on track :)
chris slaats
5,996 Pointscommenting your code here aswell will allow others to read over your work and pick up things you might have missed. if your unsure how to do this correctly read this post it should be helpful. https://teamtreehouse.com/forum/posting-code-to-the-forum
Patrick Stedman
1,598 PointsThanks I've attached it now to the original comment.
chris slaats
5,996 PointsWhich bit exactly are you having a problem with?
Patrick Stedman
1,598 PointsPatrick Stedman
1,598 Points