Reacting to Inputs

  • HTML elements can reference a function
  • onclick, onmouseover, onkeypress, etc.
  • The function needs to be defined somewhere

11 / 12