JAVASCRIPT Dom-and-events Online Test

Advertisement

Instructions:

  • Total number of questions: 10.
  • Time allotted: 10 minutes.
  • Each question carries 1 mark.
  • No negative marks.
  • DO NOT refresh the page.
  • All the best :-)

What You Will Learn:

This JavaScript DOM and Events Online Test helps you to Boost your Knowledge in JavaScript. In this test, we cover topics in the form of questions like:
  • Element selection: querySelector(), querySelectorAll(), getElementById().
  • Modifying elements: innerHTML, textContent, classList, style.
  • Event listeners using addEventListener() and removeEventListener().
  • Event propagation: Event Capturing, Target, and Event Bubbling.
  • e.preventDefault(), e.stopPropagation(), and Event Delegation.

Share your Lovable

Advertisement