addEventListener

  • What just happened there?
  • Why not "myPanel.addEventListener("click", changeColor());"?

3 / 21