PrepAway - Latest Free Exam Questions & Answers

You troubleshoot a webpage that contains the following HTML markup: (Line numbers are included for reference o

You troubleshoot a webpage that contains the following HTML markup: (Line numbers are included for reference only.)



The webpage also contains the following JavaScript function named someEvent() that is declared in the HEAD section of the HTML:

Function someEvent() {

alert(someEvent fired!);

}

The JavaScript function named someEvent() must run only when the user clicks the DIV element, not the INPUT elements.

You need to modify the webpage to invoke the JavaScript function named someEvent().

What should you do? (Each correct answer presents a complete solution. Choose two.)



A. Option A

B. Option B

C. Option C

D. Option D

Explanation:

One Comment on “You troubleshoot a webpage that contains the following HTML markup: (Line numbers are included for reference o


Leave a Reply