fr
fr

Question from the Javascript - Fundamentals test

Waiting for validation

One click listener is attached to a list container. Each card contains <button data-id="42"><span>Open</span></button>, and new cards are inserted later. In the listener, assume event.target is an Element inside one of these buttons. Which expression finds that clicked button even when the span was clicked? Select one answer.

Author: AthosStatus: Waiting for validationQuestion not yet passed
0
Community EvaluationsNo one has reviewed this question yet, be the first!