How should you complete the relevant code?
You develop an HTML5 webpage. You have the following HTML markup:
You need to update the content of the DIV element when the mouse hovers over an image and when the mouse coordinates change.
How should you complete the relevant code? (To answer, drag the appropriate code segment to the correct location or locations in the answer area. Use only code
segments that apply.)
Select and Place:
Which CSS selectors should you use?
You are developing a web page that includes the following HTML.
You need to ensure that the email element is enabled only if the user selects the IT Support check box.
Which CSS selectors should you use? (To answer, drag the appropriate selector to the correct location. Each selector 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:
How should you complete the relevant code?
You are developing an application by using JavaScript.
You must write a function that returns the sum of the variables named v1, v2, v3, v4.
You need to complete the sum function.
How should you complete the relevant code? (To answer, drag the appropriate code segment or segments to the correct location or locations in the answer area.
Use only code segments that apply.)
Select and Place:
Which three actions should you perform in sequence?
You create an HTML5 application that includes JavaScript. The application performs several AJAX requests. One AJAX request retrieves order information from a
web service and then sends the information back to a webpage within the application.
You must create a custom event. You have the following requirements:
The webpage must contain an HTML element named ordersListing that will receive the custom event notification.
The event name must be ordersReceived.
The event must pass a custom value named orderCount.
The event must run a JavaScript method named showOrdersReceivedCount after the orders Listing HTML element receives the event.
Do not allow other DOM elements to receive the event.
Allow the event to be cancelled.
Send the event into the event system.
You need to implement the custom event to notify specific DOM elements of the AJAX response.
Which three actions should you perform in sequence? (Develop the solution by selecting the required code segments and arranging them in the correct order.)
Select and Place:
How does the page render?
How should you complete the relevant code?
Which code segment should you use to replace the Loader…
You are developing an HTML5 web application that displays the current temperature whenever a button is clicked. The following code provides this functionality.
When the temperature is loaded, the status property on the loader instance does not change. You need to ensure that the status property on the loader instance is
updated when the temperature is loaded.
Which code segment should you use to replace the Loader function?
Which HTML should you use?
You are developing a customer web form that includes the following HTML.
<input id = “txtValue” />
A customer must enter a value in the text box prior to submitting the form.
You need to add validation to the text box control.
Which HTML should you use?
Which JavaScript code segment should you use?
You are developing a customer web form that includes the following HTML.
<label id=”txtValue”X/label>
Information from the web form is submitted to a web service. The web service returns the following JSON object.
{
“Confirmation”: “1234”,
“FirstName”: “John”
}
You need to display the Confirmation number from the JSON response in the txtValue label field.
Which JavaScript code segment should you use?
Which line of code should you insert at line 03?
You are developing a web page that enables customers to upload documents to a web server. The page includes an HTML5 PROGRESS element named
progressBar that displays information about the status of the upload.
The page includes the following code. (Line numbers are included for reference only.)
An event handler must be attached to the request object to update the PROGRESS element on the page.
You need to ensure that the status of the upload is displayed in the progress bar.
Which line of code should you insert at line 03?