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 compete the code?

DRAG DROP
You develop the following code:You need to complete the code to meet the following requirements:

Display “aNumber is big” if aNumber is more than 10.
Display “aNumber is not big” if aNumber is equal to or less than 10.
How should you compete the code? To answer, drag the appropriate code elements to the correct targets in the
answer area. 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 »