If you write Line 10,12 both -> the image is devided
because you call the image twice.
so if you want to put this image as a background
document.body.style.backgroundImage = `url('img/${chosenImage}')`;
If you write Line 10,12 both -> the image is devided
because you call the image twice.
so if you want to put this image as a background