This video looks at how a JavaScript function can be a callback to an event. For example, when the user clicks a button in the browser, a function is executed. Other events will be covered in future videos.

Next video:

Support this channel on Patreon:


Send me your questions and coding challenges!:

Link to code on Github:


For More p5.js Videos:

Help us caption & translate this video!