I watched a tutorial by this guy - Quentin Watt where he changes an image source whenever he clicks the picture.
There is a picture on the screen when the page opens. Then he clicks the picture and it switches to another picture,replacing the first one. Then he clicks the other one - and it goes back to the first one. And so on…
I have done, in my opinion, the exact same thing,just with different pictures than the ones Quentin used in his tutorial.
But it only works the first time I click it.
The picture changes to the second one. But when I click the second (new) one - nothing happens. There must be something i am not noticing about my code…
Here is my code… Could someone please help?