CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 36: 70-480: MCSD Programming in HTML5 with JavaScript and CSS3

You troubleshoot a webpage that contains the following HTML element: height= "300">Your browser does not support the HTML5 canvas. The following JavaScript code is included in a script tag in the HEAD section of the webpage: (Line numbers are included for reference only.) You need to invoke the clickReporter() JavaScr…

Nội dung câu hỏi

You troubleshoot a webpage that contains the following HTML element: height= "300">Your browser does not support the HTML5 canvas. The following JavaScript code is included in a script tag in the HEAD section of the webpage: (Line numbers are included for reference only.) You need to invoke the clickReporter() JavaScript function when a user clicks the mouse on the canvas HTML element. What should you do?

Minh họa câu hỏi

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. Add the following attribute to the canvas HTML element: clicked= "clickReporter()" — đáp án hiện tại
  2. B. Replace the code segment at line 06 with the following code segment: drawBox.Click += clickReporter;
  3. C. Insert the following code segment at line 07: canvas.onclick = clickReporter;
  4. D. Insert the following code segment at line 07:

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề