Which two actions should you perform?

You are developing an ASP.NET MVC application. Devices that use many different browsers will use the application.
You have the following requirements:
Content must display correctly when a device is in landscape or portrait orientation.
Content must not scale when the device orientation changes.
Content must be displayed by using the maximum available screen space.
The application must render properly in Internet Explorer 8 or later versions.
You need to configure the application.
Which two actions should you perform? Each correct answer presents part of the solution.
A. Use JavaScript to evaluate the window.innerWidth and window.innerHeight properties.
B. Set the value of the width property for the viewport meta tag to device-width.
C. Use CSS to target the HTML element on each page. Set the values of the width and height properties to 100%.
D. Use CSS media queries to target screen size, device orientation, and other browser capabilities.

microsoft-exams

One thought on “Which two actions should you perform?

  1. D is wrong. According to the link in the explanation media queries can’t be used in <IE9. This conflicts with the requirement stated in the question. The same thing applies to window.innerWidth/innerHeight. Correct answer should be BC.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.