Welcome to the Treehouse Community
Looking to learn something new?
Quiz issue on Device-Specific Media Queries
The quiz after the Device-Specific Media Queries videos has two questions that are very similarly worded...
- A device-pixel-ratio of 2 is equivalent to a resolution value of ________.
2.A device-pixel-ratio of 1 is equivalent to a resolution value of ________ dpi.
A uniform standard of answer here would be helpful... Unless I am missing a reason for the questions being phrased as they are. I think the latter (question 2) format would be easiest for the end user, as it takes out a measure of ambiguity from probable answers.
John Salzarulo6,596 Points
I was stumped on this quiz for a while. I kept entering the value "192" instead of "192 dpi". I was so frustrated because I knew it was the right answer and I didn't understand why it was failing. However, I do understand that the unit is just as important as the value. 1,000 dollars vs. 1,000 cents mean very different things.
I still think these questions need revision.
dpi This unit represents the number of dots per inch. A screen typically contains 72 or 96 dpi; a printed document usually reach much greater dpi. As 1 inch is 2.54 cm, 1dpi ≈ 0.39dpcm. dpcm
so the answer on the first one is 192 if the screen is 96 dpi
and the second one is 96 if the screen is that big.
But this question are not correct because the screen on all devices change constantly so is not a correct value for this questions.