What should you identify?
HOTSPOT
You have the following code:
You need to identify the correct value of each variable.
What should you identify? To answer, drag the appropriate values to the correct variables in the answer area.
Each value 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.)
Hot Area:
Hot Area:
Which expression should you insert into each function?
HOTSPOT
You are validating user input by using JavaScript and regular expressions.
A group of pre-defined regular expressions validate two input fields:An email address in a function named validateEmail. The email address must use two-part domains with
two to four characters in the second part of the domain name.
A nine-digit number that allows optional hyphens after the third and fifth character in a function named
validateID (for example, 555555555 or 555-55-5555)
You need to use the correct expression to validate the input.
Which expression should you insert into each function? To answer, select the appropriate options from the
drop-down lists in the answer area.
Hot Area:
How should you complete the code?
DRAG DROP
You need to write a jQuery function to consume a file named Orders.xml.
You write the following code.
How should you complete the code? To answer, drag the appropriate code elements to the correct targets in
the answer area. Each code element 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:
Which HTML element should you add?
You are developing an HTML5 web form to collect feedback information from site visitors.
The web form must display an INPUT element that meets the following requirements:
Allow numeric values between 1 and 10.Default to the value of 5.
Display as a slider control on the page.
You need to add the INPUT element to the form.
Which HTML element should you add?
How should you develop the form?
HOTSPOT
You are developing a form that captures a user’s email address by using HTML5 and jQuery.
The form must capture the form elements as a string.
You need to implement this functionality.
How should you develop the form? (To answer, select the appropriate options from the drop-down lists in the
answer area.)
Hot Area:
Which code segment should you use?
Which three actions should you perform in sequence?
DRAG DROP
You create an HTML5 webpage. You have the following HTML markup:
You also have the following JavaScript code segment:
var jsonFruit = { “apples” : “12”, “bananas” : “8”, “watermelon” : “3” }
You need to add additional rows to the fruitTable element by processing the jsonFruit values in the order listed.
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:
Which two techniques should you use?
You are developing an HTML5 web application that provides a discussion forum for users. When a user
registers to access the application, the user enters an email address.
Users can enter data that can result in cross-site scripting (XSS) attacks.
You need to ensure that email input is as secure as possible.
Which two techniques should you use? (Each correct answer presents a complete solution. Choose two.)
You need to use the least amount of development effort …
You are creating a rotating image of a company logo.
The logo must spin on a horizontal axis and on a vertical axis.
You need to use the least amount of development effort to meet the requirement.
What should you do?