1. onchange event
According to w3resource, The purpose of the HTML onchange attribute is to indicate to the user agent that the value of the element has changed. When the value of the element is changed, if the onchange attribute is used, a script is executed. HTML onchange attribute supports input, select, textarea elements.
createObjectURL() The URL. createObjectURL() static method creates a DOMString containing a URL representing the object given in the parameter.