diff --git a/index.html b/index.html
index afc7ce2..2f4645a 100644
--- a/index.html
+++ b/index.html
@@ -67,7 +67,6 @@
-
@@ -160,7 +159,7 @@
@@ -196,7 +195,6 @@
-
diff --git a/js/main.js b/js/main.js
index 3ca28f0..5232694 100644
--- a/js/main.js
+++ b/js/main.js
@@ -302,4 +302,25 @@
});
-}());
\ No newline at end of file
+}());
+
+
+
+
+//var form = document.getElementById("js-submitbtn");
+
+document.getElementById("js-submitbtn").addEventListener("click", function () {
+ //form.submit();
+ //console.log("Hello world!");
+
+ //document.getElementById("js-attentants").elements["foo"]
+ var inputs = document.querySelectorAll('input');
+ console.log(inputs);
+ console.log("Vorname:" + inputs[0].value);
+ console.log("Nachname:" + inputs[1].value);
+ console.log("Telefon:" + inputs[2].value);
+ for (let i = 3; i < inputs.length; i+=2) {
+
+ console.log("Mitbringsel:" + inputs[i].value, inputs[i+1].value);
+ }
+ });
\ No newline at end of file