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

ROSEMARY SMITH
ROSEMARY SMITH
1,041 Points

confusing

when the challenge is to 'Select' the element with the ID gallery. Then, remove the margin, padding, and bullet points.

It seems like it should say 'Create', no?

2 Answers

If the challenge says to "Select the element wit the ID 'gallery'", that means you're supposed to select #gallery in your CSS file. It's been created in the HTML file, so you're not creating anything in the CSS, just selecting it for editing.

/* in CSS's structure, #gallery would be the selector */ 
#gallery {

}

Here's a good image illustrating the structure of CSS css illustration

ROSEMARY SMITH
ROSEMARY SMITH
1,041 Points

Thanks for your explanation and illustration. I 'get' it but honestly, will have to keep reviewing it to have complete comprehension, so the illustration is a huge help. Thanks again. –M