From 922ce17e3030404d780bd298543730e80174d733 Mon Sep 17 00:00:00 2001 From: Philippe Torrel Date: Tue, 16 Jun 2026 11:51:14 +0200 Subject: [PATCH] update: day2 --- 01_grundlagen/linksammlung.md | 1 + 01_grundlagen/uebungen/u01_console-log.html | 24 ++++++++ .../tag02/02_alert-prompt-confirm.html | 58 +++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 01_grundlagen/uebungen/u01_console-log.html create mode 100644 01_grundlagen/unterricht/tag02/02_alert-prompt-confirm.html diff --git a/01_grundlagen/linksammlung.md b/01_grundlagen/linksammlung.md index 07003b7..788b370 100644 --- a/01_grundlagen/linksammlung.md +++ b/01_grundlagen/linksammlung.md @@ -13,6 +13,7 @@ - [State Of JS 2024](https://2024.stateofjs.com/en-US) - [State Of JS 2025](https://2025.stateofjs.com/en-US) - [Bootstrap 5](https://getbootstrap.com/) +- [MDN - Mozilla Developer Network](https://developer.mozilla.org/) ## Tools/ Software diff --git a/01_grundlagen/uebungen/u01_console-log.html b/01_grundlagen/uebungen/u01_console-log.html new file mode 100644 index 0000000..48be9bd --- /dev/null +++ b/01_grundlagen/uebungen/u01_console-log.html @@ -0,0 +1,24 @@ + + + + + + Übung 1: In die Konsole geloggt + + + +
+
+
+

Übung 1: In die Konsole geloggt

+

Gib deinen Namen in der Konsole aus.

+
+
+
+ + + diff --git a/01_grundlagen/unterricht/tag02/02_alert-prompt-confirm.html b/01_grundlagen/unterricht/tag02/02_alert-prompt-confirm.html new file mode 100644 index 0000000..f4e48fe --- /dev/null +++ b/01_grundlagen/unterricht/tag02/02_alert-prompt-confirm.html @@ -0,0 +1,58 @@ + + + + + + alert(), prompt(), confirm() + + + +
+
+

alert(), prompt(), confirm()

+ + +
+

alert()

+

+ Die window.alert() Methode zeigt + einen Alert-Dialog mit optional spezifiziertem Inhalt und einem OK-Button an. +

+
+ + +
+

prompt()

+

+ Die window.prompt() zeigt ein + Dialogfenster mit einem Text-Eingabefeld an, mit einer optionalen Nachricht an den Benutzer. +

+
+ +
+

confirm()

+

+ Die window.confirm() Methode + zeigt ein modales Dialogfenster mit einem optionalen Text und zwei Buttons an, OK und Abbrechen. + Rückgabewert ist ein Boolean (true, false) +

+
+
+
+ + +