PrepAway - Latest Free Exam Questions & Answers

Category: 70-480 (v.7)

Briefing 70-480: Programming in HTML5 with JavaScript and CSS3 (updated November 29th, 2017)

Which values will be returned?

HOTSPOT
You are validating user input by using built-in JavaScript functions.
The application must:
Store the value that is entered in a variable named inputValue
Use the built-in isNaN(tnputValue) function to evaluate the data typeYou need to validate the return value of the isNaN(inputValue) function.
Which values will be returned? (To answer, configure the appropriate options in the dialog box in the answer
area.)
Hot Area:

Which method or operator should you add to the function?

You are creating a custom function. You pass an object named testObj to the function as a parameter. You do
not use inheritance through the functions.
The function must establish whether testObj inherits from another object named parentObj.
You need to ensure that the function performs as required.
Which method or operator should you add to the function?

How should you complete the relevant code?

DRAG DROP
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:

How should you complete the relevant code?

HOTSPOT
You are creating a custom CSS3 style.
You have the following requirements to complete the style:
Box1 has a red outline.
Box1 contains box2, and box2 must remain inside box1
Box2 must have a green to black gradient.
Box2 must be surrounded by white space.
The style resembles the following diagram:

You need to add the CSS3 code to the styles.
How should you complete the relevant code? (To answer, select the appropriate code segment in each dropdown list in the answer area.)
Hot Area:

Which HTML markup should you add to the application?

You develop an HTML5 application for a company. Employees must enter a personal identification number
(PIN) in an INPUT element named SecurityCode to access their employee records.
The SecurityCode element must meet the following requirements:
Allow up to 6 digits.
Do not display numbers as they are entered.
Display the text Enter PIN Code before the user enters any data.
You need to implement the SecurityCode element.
Which HTML markup should you add to the application?

Which two code segments should you include on the webpage?

You develop an HTML5 webpage that contains the following HTML markup:
<input id=”loanTermTextBox” type=”text” />
Users must enter a valid integer value into the text box.
You need to validate the data type that is received from the input element.
Which two code segments should you include on the webpage? (Each correct answer presents a complete
solution. Choose two.)

Which CSS selectors should you use?

DRAG DROP
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:


Page 10 of 26« First...89101112...20...Last »