mirror of
https://github.com/TheErrorExe/blockattack
synced 2025-09-06 05:20:59 +02:00
Update index.html
This commit is contained in:
parent
0d8e47c83a
commit
f25933261d
@ -117,6 +117,7 @@ async function loadNews() {
|
|||||||
newsElement.innerHTML = `
|
newsElement.innerHTML = `
|
||||||
<h3>${newsItem.title}</h3>
|
<h3>${newsItem.title}</h3>
|
||||||
<p>${newsItem.content}</p>
|
<p>${newsItem.content}</p>
|
||||||
|
<p class="news-author">Von: <span>${newsItem.author}</span></p>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
newsContainer.appendChild(newsElement);
|
newsContainer.appendChild(newsElement);
|
||||||
@ -130,6 +131,7 @@ async function loadNews() {
|
|||||||
|
|
||||||
loadNews();
|
loadNews();
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<section id="news-section" style="margin-bottom: 50px; border-bottom: 2px solid #ccc; padding-bottom: 20px;">
|
<section id="news-section" style="margin-bottom: 50px; border-bottom: 2px solid #ccc; padding-bottom: 20px;">
|
||||||
<main style="padding: 20px;">
|
<main style="padding: 20px;">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user