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)

You need to create code to meet the following requireme…

DRAG DROP
You develop code in JavaScript. The code calls a functions named fnl.
Sometimes, fnl throws a RangeError on a SyntaxError error.
You need to create code to meet the following requirements:
Catch the error.
Call the catchRangeError function if RangeError is thrown.
Call the catchSyntaxError function if SyntaxError is thrown.
Develop the solution by selecting and arranging the required code blocks in the correct order. You may not
need all of the code blocks.
Select and Place:

How should you complete the code?

DRAG DROP
You need to write a callback function in JavaScript.
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 can 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 two code segments can you use?

You are creating a JavaScript function that displays the name of a web application.
You declare the following button element.

When a user clicks the button, a JavaScript function named Contact must be called.
You need to create an event handler that calls the Contact function when the button is clicked.
Which two code segments can you use? (Each correct answer presents a complete solution. Choose two.)

You need to ensure that the text rotates when the user …

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 02?

How should you complete the code?

DRAG DROP
You have the following markup:

You need to add a dashed border programmatically to the div.
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 can 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 code?

DRAG DROP
You have the following HTML markup:

You need to create a JavaScript to add an additional option named Air to the shippingType element.
You write the following code.

How should you complete the code? To answer, drag the appropriate lines of code to the correct targets in the
answer area. Each line may be used once, more than once, or not at all. You may drag the split bar between
panes or scroll to view content.
Select and Place:


Page 1 of 2412345...1020...Last »