What is/are the purpose(s) of JavaScript events? i) Provide a dynamic…

2023

What is/are the purpose(s) of JavaScript events? i) Provide a dynamic interface to a webpage. ii) Provide a static interface to a webpage.

  1. A.

    Only (i)

  2. B.

    Only (ii)

  3. C.

    Both (i) and (ii)

  4. D.

    Neither (i) nor (ii)

Attempted by 147 students.

Show answer & explanation

Correct answer: A

JavaScript events enable webpages to respond dynamically to user interactions and browser actions. This functionality supports statement (i) by creating a dynamic interface, whereas static interfaces do not rely on event handling.

Explore the full course: Up Lt Grade Assistant Teacher 2025