Unable to Use addeventlistner in javascript

Help me to sort out the issue my code is

function myfunc() {
// my code enter code here`
};

document.getElementById("element").addEventListener("click",myfunc);

81 thoughts on “Unable to Use addeventlistner in javascript”

Leave a Comment