You need to display the contents of the products.xml fi…
HOTSPOT
A company has an XML file named products.xml on a web server. The file contains a list of the products that
the company sells.
You need to display the contents of the products.xml file in a DIV element named Output.How should you complete the relevant code? (To answer, select the appropriate option from each drop-down
list in the answer area.)
Hot Area:
How should you complete the relevant CSS styles?
How should you complete the relevant code?
HOTSPOT
You develop a webpage that consumes a web service. The web service provides currency exchange rates.
Visitors enter the currency type on the webpage and press the Submit button.
The web service returns the current exchange rate.
You need to ensure that the webpage always displays the most current information.
How should you complete the relevant code? (To answer, select the appropriate option from each drop-down
list in the answer area.)
Hot Area:
How should you complete the relevant code?
HOTSPOT
You develop an HTML5 webpage that contains the following markup and code:
You have the following requirements:
Display a message if users select the first OPTION element, and then submit the form.
Do not display an alert message if users select any other OPTION element, and then submit the form.
You need to implement the madeSelection() function.
How should you complete the relevant code? (To answer, select the appropriate code segment from each dropdown list in the answer area.)
Hot Area:
You need to evaluate the value of the variable named cu…
HOTSPOT
You troubleshoot a webpage that includes the following code segment:
You need to evaluate the value of the variable named customer.name.
For each statement in the table, select Yes if the code segment above causes the variable to evaluate as
described. Select No if it does not. Make only one selection in each column.
Hot Area:
Which line of code should you use?
You are creating a page that contains detailed employee information for a company portal. The page uses a
jQuery library. The page contains a hidden button named btnEdit that is defined by the following code.
<button id=”btnEdit” style=”display: none;>Edit</button>
The button is not displayed by default.
The button must be displayed only if the user is logged on.
You need to add code to the document.ready() function to meet the requirements for the button.
Which line of code should you use?
Which method should you use?
Which two actions should you perform?
You develop an HTML5 application that allows users to upload files from their local computers.
The user interface must remain responsive during the upload.
You need to implement the file upload functionality for the application.
Which two actions should you perform? (Each correct answer presents a complete solution. Choose two.)
Which HTML5 element should you use?
You are developing an HTML5 web application for an architectural company that displays architectural
blueprints.
The application must:
Display the blueprints at different zoom levels without loss of detail
Print the blueprints without loss of detail
Work from only one source file per blueprint
You need to ensure that blueprints display according to the requirements.
Which HTML5 element should you use?
Which element should you use?
You develop an HTML5 web application. The web application contains a form that allows users to enter only
their month of birth.
The value that the users enter must be numbers between 1 and 12, inclusive.
You need to implement the form element for the month of birth.
Which element should you use?