logo

Crowdly

Browser

Add to Chrome

Context: Using event.target. What will this code do? btn.addEventListener('c...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Context:

Using event.target.

What will this code do?

btn.addEventListener('click', function(e) {

console.log(e.target.id);

});

]]>
More questions like this

Want instant access to all verified answers on moodle.ncst.edu.bh?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome