From c2f8d158710529b21096071f9e17d6e807c46108 Mon Sep 17 00:00:00 2001 From: Tilman Date: Fri, 30 Jun 2023 14:14:33 +0200 Subject: [PATCH] commit --- index.twig | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/index.twig b/index.twig index 6433a03..469c39a 100644 --- a/index.twig +++ b/index.twig @@ -215,14 +215,12 @@ const podcastDiv = document.getElementById("podcast-list"); var lines = data.split('\n'); - for(var i = 0;i < lines.length;i++){ - var podcastInfo = lines[i].split(';'); - const podcastTitle = document.createTextNode(podcastInfo[0]); + for (var i = 0;i < lines.length;i++) { + let podcastInfo = lines[i].split(';'); const node = document.createElement('div'); node.classList.add('col-sm-12', 'col-lg-6', 'col-xl-4', 'my-2'); - node.innerHtml = "I have changed!"; - //'
Thema

Beschreibung vom tollen Podcast

'; + node.innerHTML = '
' + podcastInfo[0] + '

' + podcastInfo[1] + '

'; //node.appendChild(podcastTitle); podcastDiv.appendChild(node);