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
Paul Shryock6,291 Points
On 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.
Perhaps 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:
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.
This question is back to asking about background-position.
Turns 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.