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


Media Queries "CSS"

Please Help me , i can't answers this task ,,,,,

At the very least, we should set all 'background' values to _______ and 'color' values to _______

To set margins around a printed page, we'll need to use the ______ at-rule.

5 Answers

Oh ok, I see what you mean now, thank you for the links.

Question 1

Answer: 4:45

What the Masterful Guil Hernandez meant with that question was when making a Media Query for print pages, the very bare minimum you want to adjust the original styles is to set the "Background" property to "Transparent" & the "Color"(For the text) to "Black", to minimize on ink usage because they're printing them.

Question 2

Answer: 11:09

It's the "@page", at-rule. That's how you set the margins for the entire page, I recommend going back to 11:09 to hear Guil explain it.

Lastly, hope this helps, and I recommend if you get stuck on a question like that, search through the transcript under the video looking for keywords in the question asked, it has helped me a lot not having to completely watch the video again looking for the answer.

Happy learning, Sayfuddin.

Thank so much Syl , for your help ,,, :(y)

Chris Freeman
Chris Freeman
Treehouse Moderator 68,423 Points

I was frustrated finicky grading of the question: To set margins around a printed page, we'll need to use the ______ at-rule. Since the wording of the question includes "at-rule", i read the answer to be "page". But the accepted answer is "@page", which is reads awkwardly as "...we'll need to use the at-page at-rule.", rather then "...we'll need to use the at-page rule."

I feel the quiz question should be altered to accept "page" as a correct answer, or drop the "at-" from the question.

If you could link to the challenge page you're on, I'm not quite sure where you're at, I could help.