PrepAway - Latest Free Exam Questions & Answers

Category: 70-480 (v.6)

Exam 70-480: Programming in HTML5 with JavaScript and CSS3 (updated July 19th, 2017)

Which line of code should you use?

You are developing a web page that consumes a Windows Communication Foundation (WCF) service. The
page includes the following code segment.
var xhr = new XMLHttpRequest() ;
The page uses the xhrHandler() method to listen for changes to the request status of the WCF service calls. It
uses the xmlToJavaScript() method to convert the response from the WCF service to a JavaScript object.
The xhrHandler() method must be called automatically each time the request status changes.
You need to add the event handler to the request object.
Which line of code should you use?

How should you build the code?

DRAG DROP
You are developing a web page that will be accessed from various types of devices.
You have the following requirements:
The appropriate display resolution must be selected dynamically based on the device that is connecting to
the page.
Mobile devices with a maximum width of 480 pixels must be able to use the page.
You need to ensure that the page displays correctly on any device.
How should you build the code? (To answer, drag the appropriate media statement to the correct location. Each
media statement may be used once, more than once, or not at all. You may need to drag the split bar between
panes or scroll to view content.)
Select and Place:

what order should you specify the four anchor selectors?

DRAG DROP
You are developing a web page by using HTML5 and CSS3.
Hyperlinks on the page must be rendered with a style that reflects the last user action performed.
You need to style the four anchor elements in the document.
In what order should you specify the four anchor selectors? (To answer, move the appropriate anchor selectors
from the list of CSS codes to the answer area and arrange them in the correct order.)
Select and Place:

Which CSS3 property should you use?

You are developing a web page that will be divided into three vertical sections. The main content of the site will
be placed in the center section. The two outer sections will contain advertisements.
You have the following requirements:The main content section must be set to two times the width of the advertising sections.
The layout must be specified by using the CSS3 flexible box model.
You need to ensure that the visual layout of the page meets the requirements.
Which CSS3 property should you use?


Page 20 of 24« First...10...1819202122...Last »