Essentials
Accenture Technical PrimermediumEssentialsWeb Technologies

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
onclick
B
JavaScript
C
<div>
D
<span>

Correct answer: onclick

Explanation

Quick AnswerThe correct answer is onclick because it directly addresses the core logic of Essentials.

The correct answer is: onclick.

Related Accenture Essentials questions

Practice more Accenture Essentials questions

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

Watch Walkthroughs!