where to use addEventListner code example
Example: javascript addeventlistener
//with jQuery
$("#id / .class").on('click', function(){
console.log("click");
});
//with jQuery
$("#id / .class").on('click', function(){
console.log("click");
});