const array = ['1.jpg', '2.jpg'] // массив с картинками
app.get('/', function (req, res) {
const response = array.map(item => `<img src="${item}" />`).join('')
res.send(response)
})
else if (arr[i] == "0") {
arr[i] = "o"
}
.container {
width: 130px;
height: 250px;
border: 2px solid black;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.grid {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
.grid::after {
content: "";
flex: auto;
}