PrepAway - Latest Free Exam Questions & Answers

Tag: Briefing 70-480 (updated November 29th, 2017)

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

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:

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?

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.)

Which CSS style should you apply?

You are developing an application that retrieves a stock rate from an external web service. A web page displays
a simple rotating animation to indicate whether the stock rate is increased or decreased.
The default image, as shown in the following graphic, indicates unchanged or neutral.

The arrow must point down if the stock rate is decreased, as shown in the following graphic.

You need to ensure that the arrow points down when the stock rate decreases.
Which CSS style should you apply?


Page 6 of 26« First...45678...20...Last »