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 trialWill Albertsen
415 PointsI have no idea what to do
I don't know what this is asking me to do
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
h1, h2 {
color: #fff;
}
nav a {
color: #fff;
}
nav a:hover {
color: #32673f;
}
h1 {
font-family: βChanga Oneβ, sans-serif;
font-size: 1.75em;
font-weight: normal;
}
img {
max-width: 100%;
}
2 Answers
Trace Harris
Python Web Development Techdegree Graduate 22,065 PointsHi Will! I can help you with this. so remember the makeup of Css I apologize if this is review and redundant for you but my thought process may help you in this case. remember a CSS block is made up of three things Selector(which is the element in your html that you want to select to apply style to this is done by element such as simply typing p for paragraphs classes, ids, and pseudo classes) then you have property and value inside the block property is the property of the element that you want to style and the value is the value you want that property to hold. ) in this case the challenge is asking you to (select) the element with the id gallery. this is done with the selector, and Ids are denoted with the # then you have the properties which is the margin and padding, it asks you to remove them so that would be either 0 or none your code may look like this:
#gallery {
margin: 0;
padding:0;
}
rdaniels
27,258 PointsYour code should have this for (1 of 4) and (2 of 4):
img {
max-width: 100%;
}
#gallery {
margin: 0;
padding: 0;
list-style: none;
}
Hope this helps!
Will Albertsen
415 PointsWill Albertsen
415 PointsIt wants me to select the element with the id gallery and then remove the margins and padding