eventlistener js syntax code example Example: eventlistener javascript element .addEventListener( event, function, useCapture );