diff --git a/random-image-generator/script.js b/random-image-generator/script.js index 0f9b658..2598229 100644 --- a/random-image-generator/script.js +++ b/random-image-generator/script.js @@ -1,5 +1,5 @@ const container = document.querySelector('.container') -const unsplashURL = 'https://source.unsplash.com/random/' +const unsplashURL = 'https://picsum.photos/' const rows = 5 for(let i = 0; i < rows * 3; i++) { @@ -9,7 +9,7 @@ for(let i = 0; i < rows * 3; i++) { } function getRandomSize() { - return `${getRandomNr()}x${getRandomNr()}` + return `${getRandomNr()}/${getRandomNr()}` } function getRandomNr() {