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

CSS How to Make a Website Styling Web Pages and Navigation Make a CSS Image Gallery

How to make a Website - code challenge task 2-4

I can't figure out why this code is not working, please help me.

Question: Select the element with the ID gallery. Then, remove the margin, padding, and bullet points.

My answer: #gallary { margin: 0; padding: 0; list-style: none; }

4 Answers

You misspelled 'gallery' in the ID-selector. I think that causes your problem.

Jason Slabbers
Jason Slabbers
4,447 Points

This must work properly, but you can try to add px after 0. So it would be like #gallary { margin: 0px; padding: 0px; list-style: none; }

I hope this will help you.

Jason Slabbers
Jason Slabbers
4,447 Points

There you go! I didn't see that.

ugh, missed that one thanks guys.