JavaScript Question 31
Question 31 of 0JavaScript
What is the event.target when clicking the button?
Code:
<div onclick="console.log('first div')">
<div onclick="console.log('second div')">
<button onclick="console.log('button')">
Click!
</button>
</div>
</div>