mirror of
https://github.com/TheErrorExe/blockattack
synced 2025-09-05 21:11:00 +02:00
Update index.html
This commit is contained in:
parent
0d8e47c83a
commit
f25933261d
@ -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;">
|
||||
|
Loading…
x
Reference in New Issue
Block a user