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)

How should you complete the markup?

DRAG DROP
You are developing a web application.
You need to create an input field to provide users with the ability to select a product from a drop-down list. The
solution must meet the following requirements:
The drop-down list must use AutoComplete.
Users must see Car and Boat as the two available options.
Users must be able to select one of the two options or to enter manually their own option in the text box.
You write the following HTML markup.

How should you complete the markup? To answer, drag the appropriate code elements to the correct targets.
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 code segment should you use?

You are developing a website that helps users locate restaurants in their area from a browser. You created a
function named findRestaurants().
The function must:
Get the current latitude and longitude of the user’s device
Pass the user’s location to findRestaurants()
You must ensure that the application accesses the geolocation information from the device before searching forrestaurants.
Which code segment should you use?

Which code segment should you use?

You are developing an application that consumes an external web service. The web service returns the latest
stock rate. The application has two methods:
The getResults() method makes an AJAX web service request.
The ShowRate() method displays the stock rate from the web service response.The application has two JavaScript variables named newStockRate and stockRate to store the latest and
previous stock rates, respectively.
Users must be able to compare the old stock rate with the new stock rate.
You need to ensure that newStockRate and stockRate retain their values for comparison.
Which code segment should you use?

In which order will the five style sheets be applied by…

DRAG DROP
You are creating an application by using HTML5 and CSS3. The styles for the pages are derived from five style
sheets.
You need to order the style sheets by greatest CSS rule weight to lowest CSS rule weight.
In which order will the five style sheets be applied by the browser? To answer, move the style sheet types from
the list of style sheet types to the answer area and arrange them in the order in which the browser will apply
them. The first style sheet that the browser will apply must appear at the top of the list in the answer area.
Select and Place:


Page 4 of 26« First...23456...1020...Last »