All practice tasks

Knowledge Check

Passive listener cancellation

What happens when a passive listener calls preventDefault?

Answer options

  • A. The listener becomes a capture listener
  • B. The target element is removed
  • C. The cancellation request is ignored
  • D. The event stops propagating immediately

What this task practices

Passive listener cancellation is a knowledge check interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as hard difficulty. It focuses on Frontend Language Browser, Dom Events. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.