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 trialZoe Watson
3,986 PointsStuck on code challenge. Can anyone tell me how to move forward on this question:
Select the element with the ID gallery. Then, remove the margin, padding, and bullet points. I've tried
gallery {
margin: 0; padding: 0; list-style: none; }
I've also tried # gallery li a { etc
Would really appreciate help find it so frustrating when you don't have the right answer as the prompters are wide of the mark. Thanks
4 Answers
Tony Nguyen
24,934 Points"#"gallery no space.
Melad Javadi
15,299 PointsYou need to add a selector for the id "#", everything else looks good :)
#gallery {
margin: 0;
padding: 0;
list-style: none;
}
ryankite
8,265 PointsYep I would try the code Melad wrote.
Caroline Simpson
Courses Plus Student 3,757 PointsYou probably need #gallery{ margin: 0; padding: 0; list-style: none; } . Include the #, with no space between the # and the id name.
Zoe Watson
3,986 PointsThanks guys had tried the # in front it just dropped off in my can you help message but i'll try adding it with no spaces i.e #gallery. Thank you all appreciate the help!