Update index.html

This commit is contained in:
TheErrorExe 2025-01-10 20:49:01 +01:00 committed by GitHub
parent 0d8e47c83a
commit f25933261d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,6 +117,7 @@ async function loadNews() {
newsElement.innerHTML = `
<h3>${newsItem.title}</h3>
<p>${newsItem.content}</p>
<p class="news-author">Von: <span>${newsItem.author}</span></p>
`;
newsContainer.appendChild(newsElement);
@ -130,6 +131,7 @@ async function loadNews() {
loadNews();
</script>
<section id="news-section" style="margin-bottom: 50px; border-bottom: 2px solid #ccc; padding-bottom: 20px;">
<main style="padding: 20px;">