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 trialAmy Farr
5,279 PointsAdding the style element
I copied what was done in the class and could not get the desired result. I cannot figure out what is going on.
2 Answers
Penny Leyton
483 PointsWhen something doesn't work it's almost always syntax error. Check every { has corresponding } check every line has ; at the end check every class name is the same in the css file and the html file check all the spelling. I have had this problem so many times and even though I think I have copied something exactly there is always some microscopic thing missing, or wrong. If I could see your file I could check but since not I can only advise you to do so! Another way is to comment out sections until you get to the part that isn't working.
Amy Farr
5,279 PointsThanks! I will check.