exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 14 discussion

Actual exam question from Microsoft's 70-486
Question #: 14
Topic #: 1
[All 70-486 Questions]

You are developing an ASP.NET MVC web application for viewing a list of contacts. The application is designed for devices that support changes in orientation, such as tablets and smartphones. The application displays a grid of contact tiles in portrait mode.
When the orientation changes to landscape, each tile in the grid expands to include each contact's details. The HTML that creates the tiled interface resembles the following markup.

The CSS used to style the tiles in landscape mode is as follows.

If this CSS is omitted, the existing CSS displays the tiles in portrait mode.
You need to update the landscape-mode CSS to apply only to screens with a width greater than or equal to 500 pixels.
Which code segment should you use?

  • A. @media screen and (width >= 500px) { "¦ }
  • B. @media screen and (min-width: 500px) { "¦ }
  • C. @media screen(min-width: 500px, max-width: 1000px) { "¦ }
  • D. @media resolution(min-width: 500px) { "¦ }
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
http://www.javascriptkit.com/dhtmltutors/cssmediaqueries.shtml

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
markcowell
4 years, 6 months ago
Answer is B https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_media_bg
upvoted 2 times
...
hungry_ape9000
4 years, 11 months ago
FINAL ANSWER: B is correct
upvoted 2 times
...
Darshu
5 years, 3 months ago
why not A.?
upvoted 2 times
founderDev
5 years, 3 months ago
css not supported '<='
upvoted 3 times
...
...
apostolin
5 years, 7 months ago
The correct answer is: B.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago