So I\'m new with JavaScript (this is actually my first attempt to make something work) and I\'m having a bit of trouble. I thought I had enough knowledge to make this work,
function changeImage(a) so there is no such thing as a.src => just use a.
function changeImage(a)
a.src
a
demo here