How should you complete the relevant code?
DRAG DROP
You are developing an application by using JavaScript.
You must write a function named Add that returns the sum of the variables named v1, v2, v3, v4. The
addValues function must call the Add function and use the appropriate owner object.
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 two CSS segments will achieve the goal?
You are developing a web page that includes the following HTML.
<span id = “myTextSpan” class = “redText”> Hello There! </span>
The font color of text inside the span must be red.
You need to develop the web page to meet the requirement.
Which two CSS segments will achieve the goal? (Each correct answer presents a complete solution. Choose
two.)
How does the page render?
Which code segment should you use?
Which HTML element should you use?
You develop an HTML5 application. You give users a numeric access code that can be used only one time.
Users must enter the numeric access code in the login form of the application. The numeric characters must be
hidden by a masking character.
You need to implement the form element for users to enter the code.
Which HTML element should you use?
How should you complete the relevant code?
How should you complete the relevant code?
DRAG DROP
You are creating a function by using JavaScript.
You have the following requirements:
The function must display loan amounts to the user within the following HTML element:<div id=”display”></div>
The loan amount of 2100 must display in the HTML element.
All declared variables and functions must be scoped to the myApp variable.
You need to implement the function.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct
location or locations in the answer area. Use only code segments that apply.)
Select and Place:
How should you complete the relevant CSS styles?
HOTSPOT
You create a custom style by using CSS3.
A box with rounded corners must appear around text. The box must match the following illustration:
You need to add the CSS3 markup to your style.
How should you complete the relevant CSS styles? (To answer, select the appropriate option from each dropdown list in the answer area.)
Hot Area:
Which two code segments should you add to the webpage?
You develop an HTML5 webpage that contains the following HTML markup:
You have the following requirements:
Retrieve the content for any OPTION elements when the value of the selected attribute equals selected.
Add the content to a comma separated string.
You need to retrieve the required data.
Which two code segments should you add to the webpage? (Each correct answer presents a complete
solution. Choose two.)
Which line of code should you add at line 03?
You are creating a web page that contains a canvas with text.
The page contains the following JavaScript code. (Line numbers are included for reference only.)
The text on the canvas must rotate 90 degrees when a user clicks a button on the page.
You need to ensure that the text rotates when the user clicks the button.
Which line of code should you add at line 03?