Web Technology
Accenture Technical PrimereasyWeb TechnologyJavascript

Sita wishes to greet the user when the user clicks on "Greet Me" button. In which event does she need to write the JavaScript code for greeting the user?

Answer options

A
True
B
False

Correct answer: True

Explanation

Quick AnswerThe correct answer is True because it directly addresses the core logic of Web Technology.

Sita should write the JavaScript greeting code in the onclick event of the button. The onclick event fires when the user clicks the element.

Related Accenture Web Technology questions

Practice more Accenture Web Technology questions

PrimerPrep has 1400+ practice questions, 2026 simulations and coding hands-on — all free.

Watch Walkthroughs!