|
|
|
@ -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() {
|
|
|
|
|