Suscríbete

Últimas noticias en Cúcuta, Colombia y el mundo. Entérate de lo último en deportes, economía, política y más hoy en La Opinión.

1
18
Exclusivo para nuestros suscriptores
Recomendados para ti
Cultura
${article?.field_seccion}
${article?.title}
` }) elBlock.insertAdjacentElement("beforeend", blockChildren); } if (index === 2) { let blockFeatured = document.createElement('div') let blockContent = document.createElement('article') let blockChildren = document.createElement('ul') const elBlock = document.querySelector(`.section #section_clindren_02 .section_children`); document.querySelector(`.section #section_clindren_02`).style.display = 'flex'; const imgFeatured = content?.dataFeatured?.field_featured_image const titleFeatured = content?.dataFeatured?.title blockFeatured.classList.add('content_featured'); blockChildren.classList.add('content_list'); blockFeatured.innerHTML = ` ` blockContent.appendChild(blockFeatured) blockContent.appendChild(blockChildren) content?.dataList.forEach(article => { blockChildren.innerHTML += `
  • ${article?.field_featured_image}
    ${article?.field_seccion}
    ${article?.title}
  • ` }) elBlock.insertAdjacentElement("beforeend", blockContent); featured = false } const summary = document.querySelector(`#section_clindren_0${index} summary`); summary.innerText = section.name; index++ } })(); }; await fetchChildren('section_parent_id', 'section_children_id'); })();
    More: TnyycqxA5SNjgd9mq9puFo6LcEEGVn60xYPA4zhCffQBB4WQ0fU4K1Yrrthg5g3z45QoM8BPQLsXC72SWHV6h6HRx71gobXKxRQcQDhhcU1c8YjVVRcZM6ZpN99sR4ATeYD6ntSfOS0w90vukGAF0kGJrQ4ROyi2Iks0JdZf00CYgaE1fkQmMNqEq5EsaHWJEfqc30A1MLtzVS57LG2LYz6MQTV1M0DHjm6FqWWHg2ykcIM7dFZeKaZ3XXn8S9auHVEZWxs2dNFLxI4iSS5ALT8SmYEIKptitq2hoV6lLatCcFc0Yi4omYBct5EP5P8iQqMbP8UNPW8kkNI1qPzdvKJ8qENXprtVCM0MuDhM18kThPFkm34JlCJewI52IsFZGNIm3d