IMAGE

See the Pen vRYGBm by Héctor (@hector39) on CodePen.

We create the variable img, then we make a preload of the image that we want and finally we call it to appear.