homeItem.innerHTML = `
<div class="home-item__top">
<div class="home-item__price">${priceItem} Р</div>
<div class="home-item__logo">
<img src="https://${carrierURL}" alt="">
</div>
</div>
<div class="home-item__points">
// Начало foreach
<div class="home-point">
<ul>
<li><span>MOW – HKT</span><span>10:45 – 08:00</span>
</li>
<li><span>В пути</span><span>21ч 15м</span>
</li>
<li><span>1 пересадка</span><span>HKG</span>
</li>
</ul>
</div>
// Конец foreach
</div>
`;
`
<div class="home-item__points">
${arr.map((item) => `
// Начало foreach
<div class="home-point">
<ul>
<li><span>MOW – HKT</span><span>10:45 – 08:00</span>
</li>
<li><span>В пути</span><span>21ч 15м</span>
</li>
<li><span>1 пересадка</span><span>HKG</span>
</li>
</ul>
</div>
// Конец foreach
`).join('')}
</div>
`
let markup = `...`
[...].forEach(item => {
markup += item;
})
markup += '</div>';
homeItem.innerHTML = markup;