Microsoft Exam Questions

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

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 propertyon 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