Suppose you want to write a JavaScript event handler that will run the shapeChange function when the user either presses
Posted: Sun May 15, 2022 12:20 pm
Suppose you want to write a JavaScript event handler that will run the shapeChange function when the user either presses down the left mouse button while pointing to the object with the ID square or makes contact with that object on a touchscreen. What belongs in the blank in the following statement? document.getElementById("square"). = shapeChange; ontouchmove onmouseup onpointerup onpointerdown