Skip to main content

JavaScript Question 32

Question 32 of 0JavaScript

When you click the paragraph, what's the logged output?

Login Required

Please login to select answers and solve this question. You can view the question without logging in.

Code:
<div onclick="console.log('div')">
  <p onclick="console.log('p')">
    Click here!
  </p>
</div>

Select the correct option: