Whenever I hover over the image it does not enlarge and gives an error.
HTML and Javascript code(these are two separate files):
var banner = document.ge
When referencing the function normalpic, you should preceed it with an empty function:
banner.addEventListener("mouseout",function(){normalpic},false)