new commit

This commit is contained in:
2025-11-26 21:00:41 +07:00
parent d71a866380
commit 8036316314
3 changed files with 11 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
// Aktuelle Mondatszahl - beginnt bei 1.
let currentMonth = 1;
@@ -16,7 +16,7 @@ function getFibonacci(n) {
return b;
}
// Zeigt die aktuelle Mondatszahl im DOM an.
function showMonth(month) {
document.getElementById("monthDisplay").textContent = "Monat: " + month;
}
@@ -44,7 +44,7 @@ function showRabbits(count) {
}
}
// Zum nächsten Monat wechseln und Anzeige aktualisieren.
function nextMonth() {
currentMonth++;
showMonth(currentMonth);