This is the live code sandbox for Beginning JavaScript 5th Edition Chapter 10. This example uses the DOM Event Model and some properties of the MouseEvent. Edit the code to see the effects your changes have and click “View Project” to run the code in your browser.
You can download the complete code for Beginning JavaScript 5th Edition as well to work with it in your own code editor.
Return to the complete list of live code sandbox examples for Beginning JavaScript 5th Edition