diff --git a/index.html b/index.html index cfc0333..0ef55e5 100644 --- a/index.html +++ b/index.html @@ -26,17 +26,17 @@

Warum Blockattack?

-
+
Feature 1

Gebietsclaiming

Schütze dein Land vor anderen Spielern und baue es aus.

-
+
Feature 2

PVP-Kämpfe

Tritt in spannenden Kämpfen gegen andere Spieler an!

-
+
Feature 3

Events

Erlebe regelmäßige Events und spannende Abenteuer.

@@ -50,7 +50,8 @@ document.querySelectorAll('.card').forEach(card => { card.addEventListener('click', () => { const featureName = card.getAttribute('data-feature'); - alert(`Du hast das Feature "${featureName}" ausgewählt!`); + const featureDescription = card.getAttribute('data-description'); + alert(`Feature: "${featureName}"\n\nBeschreibung: ${featureDescription}`); }); });