From 8e8d68c61c2572633750b04765353ecc36f38817 Mon Sep 17 00:00:00 2001 From: SergejJahne Date: Thu, 18 Apr 2024 15:51:37 +0200 Subject: [PATCH] Patentshop anfang --- Javascript/app.js | 6 ++++++ index.html | 50 +++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 54 insertions(+), 2 deletions(-) diff --git a/Javascript/app.js b/Javascript/app.js index 82f5e79..dbb17ee 100644 --- a/Javascript/app.js +++ b/Javascript/app.js @@ -24,3 +24,9 @@ document.addEventListener("DOMContentLoaded", function() { }); }); }); +// Für Patenshop +document.getElementById('donationForm').addEventListener('submit', function(event) { + event.preventDefault(); // Verhindert die tatsächliche Formularübermittlung + alert('Alles in Ordnung. Vielen Dank für Ihre Spende!'); + this.reset(); // Setzt das Formular zurück +}); diff --git a/index.html b/index.html index 04d388b..0bf365e 100644 --- a/index.html +++ b/index.html @@ -86,8 +86,54 @@
-

Patenshop

-

Patenshop

+
+

Spendenformular

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+