const arrComponents = [];
for (let i = 0; i < 152; i++) {
arrComponents.push(`
<div class="child-block-${i}">Text-${i}</div>
`);
}
const template = (child) => `
<div class="block">${child}</div>
`;
const arrBlock = arrComponents.map(child => template(child));
... Вставляем в Dom
const picHolder = document.getElementById("picHolder");
const img = document.createElement("img");
img.setAttribute('src', `images/stone-${number}.jpg`)
img.setAttribute('alt', 'pic');
picHolder.appendChild(img);
const template = `
<img src='images/stone-${number}.jpg' alt='pic'>
`;