Beginning JavaScript 5th Edition Chapter 10 Displaying Random Images with Object Property Event Handlers and the Event Object

This is the live code sandbox for Beginning JavaScript 5th Edition Chapter 10. This example connects to an image’s click event to randomly change the image loaded in a page using the Event object instead of this. 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

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *