function loadRandomImage() { const randomNumber = Math.floor(Math.random() * 60); const randomImage = "https://media.cunny.center/fedi-assets/random-cunny/" + randomNumber + ".png"; document.getElementById("fav-cunny").src = randomImage; } window.onload = loadRandomImage();