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 trialPaul Shryock
6,291 PointsOn Stage 5, Basic Layout, Question 1 of 8, the question should say: "background-repeat" instead of background-position.
Just thought someone might want to fix that typo, unless I'm crazy and wrong, but I'm pretty sure that's a typo.
5 Answers
Salman Akram
Courses Plus Student 40,065 PointsThank you for correction, we will submit to help@teamtreehouse.com
David Laycock
2,988 PointsPerhaps I'm misunderstanding the question or content. The question in the quiz states: If we specify one background-position value, the browser will assume the second value is ____________. My understanding is that the background-position is expecting two values. One for the horizontal position and one for the vertical position. My first answer to this question is that the answer should be '0'. Testing this with the project in that section if I include:
background-position: 20px;
It moves the image 20px to the right and the vertical spacing stays at zero.
I re-watched the video it directed to and it didn't stand out to me. I haven't seen any other posts besides this one asking about this quiz question so I'm probably missing something obvious.
Grant Bates
1,915 PointsI put the answer "vertical position" to this question and received a big ol WRONG. I don't know why.
David Laycock
2,988 PointsThe answer to that question is 'center'.
Guil Hernandez
Treehouse TeacherThanks, Paul Shryock. This is now fixed. :)
Justin Bigos
3,828 PointsMake sure to write center not centered. Errrgg
David Laycock
2,988 PointsThis question is back to asking about background-position.
Guil Hernandez
Treehouse TeacherHi David Laycock,
Just checked. One of the questions is supposed to about background-repeat
values. :)
David Laycock
2,988 PointsTurns out my image was too large for me to notice. After constraining it with background-size to be much smaller than its parent element I see it centering the image on the vertical axis when I only give it a background-position along the x-axis. Thanks for the responses.
Guil Hernandez
Treehouse TeacherGuil Hernandez
Treehouse TeacherHey Grant Bates,
I cover that question & answer -- almost word-for-word -- at the
00:47
mark of this video. :)