diff --git a/about_us.html b/about_us.html
index 71ff484..3ae573a 100644
--- a/about_us.html
+++ b/about_us.html
@@ -12,6 +12,7 @@
Project
Contact
Imprint
+
Notenrechner
diff --git a/contact.html b/contact.html
index b49c8a7..2a879c5 100644
--- a/contact.html
+++ b/contact.html
@@ -12,6 +12,8 @@
Project
Contact
Imprint
+ Notenrechner
+
diff --git a/eis_project.html b/eis_project.html
index 0125582..e413e02 100644
--- a/eis_project.html
+++ b/eis_project.html
@@ -10,6 +10,7 @@
Project
Contact
Imprint
+Notenrechner
diff --git a/imprint.html b/imprint.html
index 99563bc..4cc18cf 100644
--- a/imprint.html
+++ b/imprint.html
@@ -11,6 +11,7 @@
Project
Contact
Imprint
+Notenrechner
diff --git a/index.html b/index.html
index 36b88c0..2c7729b 100644
--- a/index.html
+++ b/index.html
@@ -1,48 +1,53 @@
-
-
-
+
-
-
-
- My Website
-
+
+ JavaScript verwenden
+
+
+
+
+
+
+
+
+Notenrechner
+
+
+
+
+
+JavaScript
+ Wilkommen beim Lernprojekt EIS!
+ My first page on the server.
-
-
-
-"Kommentar in index.html ergaenzt"
- Wilkommen beim Lernprojekt EIS!
- My first page on the server.
-
-
-imprint.html
-
-
-
-
Auf dieser Website stellen wir unser Projekt im Rahmen der Lehrveranstaltung
Entwicklung interaktiver Softwareanwendungen vor.
+
Projektinfo herunterladen (PDF)
-
+
-
-
+
+
+
+
+
diff --git a/js/textanalyse.js b/js/textanalyse.js
index 69436e4..90fd7bd 100644
--- a/js/textanalyse.js
+++ b/js/textanalyse.js
@@ -1,12 +1,19 @@
-
-
-
-
- Textanalyse
-
-
-
- Textanalyse
- Die Analyse startet automatisch.
-
-
+function analyseText(text) {
+ if (text === null || !text.trim()) {
+ return "Fehler: Der Text darf nicht leer sein!";
+ }
+
+ const zeichen = text.length;
+ const woerter = text.split(" ").filter(w => w.trim() !== "").length;
+ const gross = text.toUpperCase();
+
+ return `Analyse-Ergebnis:
+ Zeichen: ${zeichen}
+ Wörter: ${woerter}
+ Großbuchstaben: ${gross}`;
+}
+
+const eingabe = prompt("Bitte gib einen Text ein:");
+alert(analyseText(eingabe));
+
+
diff --git a/notenrechner.html b/notenrechner.html
new file mode 100644
index 0000000..eb7fe7d
--- /dev/null
+++ b/notenrechner.html
@@ -0,0 +1,33 @@
+
+
+
+
+ Notenrechner
+
+
+
+
+
+
+
+ Notenrechner
+ Der Notenrechner wird automatisch gestartet, sobald die Seite geladen wird.
+
+
+
+
+
+