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
Eric Iocca
2,704 Pointsset zero margins code challenge. where am i going wrong?
the directions say to remove the margins, padding, & bullet points in the gallery ID. so my code looks like this,
gallery {
margin: 0;
padding: 0;
list-style: 0;
}
and i keep getting
''bummer, it looks like at least one side has no margin. be sure to set all sides to zero margin''
is this not how its done?
3 Answers
Luke Pettway
16,593 PointsYour list style is set to 0, the correct value is none; .
Eric Iocca
2,704 Pointsnever mind i figured out what i did. or didnt do i should say. i forgot to put the little # sign before gallery. thanks for the help anyway!!
Luke Pettway
16,593 PointsNo problem! I do that all the time! Today I spent an hour debugging my code only to find out I was calling the wrong object in an array! Yay for coding!
Eric Iocca
2,704 Pointsoh man i'd be ripping my hair out. i'll have more than my fair share of doing that anyway until i get the hang of this more. even then i'm sure i'll stare at my computer screen crying from time to time wondering why something wont work
Eric Iocca
2,704 PointsEric Iocca
2,704 Pointsactually i wrote that wrong here like an idiot. i did have my list style set to none in the challenge. that wasnt the problem. the error is happening in the margin. it says to set it to zero margin and thats what i've done. is it something wrong with the challenge or am i still not doing it right?