nerdexam
Microsoft

70-481 · Question #51

You are developing a Windows Store app by using HTML5 and JavaScript. The app will support both the English and French languages. The app must meet the following requirements: - Automatically load…

The correct answer is C. Specify both the element properties and the resource names of data-win-res attributes, and. See the full explanation below for the reasoning.

Question

You are developing a Windows Store app by using HTML5 and JavaScript. The app will support both the English and French languages. The app must meet the following requirements:

  • Automatically load language-specific string resources from a resource

file, and access the resources from within the HTML by using data-win res attributes.

  • Use the base.js file from the Windows Library for JavaScript.

You need to ensure that the correct language-specific resources are used. What should you do?

Options

  • ASpecify both the element properties and the resource names of data-win-res attributes, and
  • BSpecify only the properties of data-win-res attributes, and process the data-win-res attributes
  • CSpecify both the element properties and the resource names of data-win-res attributes, and
  • DSpecify only the resource names of data-win-res attributes, and process the data-win- res

How the community answered

(35 responses)
  • A
    6% (2)
  • B
    11% (4)
  • C
    80% (28)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 70-481 Practice