Which code segment should you use to replace the Loader function?

Posted by: Pdfprep Category: 70-480 Tags: , ,

You are developing an HTML5 web application that displays the current temperature whenever a button is clicked.

The following code provides this functionality.

When the temperature is loaded, the status property on the loader instance does not change.

You need to ensure that the status property on the loader instance is updated when the temperature is loaded.

Which code segment should you use to replace the Loader function?

A . Option A
B . Option B
C . Option C
D . Option D

Answer: A

Explanation:

Incorrect:

Not D: window.status property

The status property sets the text in the status bar at the bottom of the browser, or returns the previously set text.

Leave a Reply

Your email address will not be published.