All practice tasks

Knowledge Check

Safe event delegation

Which checks help a delegated list listener identify an intended button safely?

Answer options

  • A. Find the nearest matching ancestor from the target
  • B. Verify the matched element belongs to the list
  • C. Read currentTarget as the clicked button
  • D. Require every child to register its own listener

What this task practices

Safe event delegation 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.