From 8966b61205ecb54b519687d4be8b4eeaf934a760 Mon Sep 17 00:00:00 2001 From: Philippe Torrel Date: Tue, 8 Sep 2026 12:12:41 +0200 Subject: [PATCH] --- 01_grundlagen/docs/tastenkuerzel.md | 1 + .../tag02/01_alert-prompt-confirm.html | 44 +++++++++++++++++-- .../unterricht/tag02/02_use-strict.html | 40 +++++++++++++++++ .../unterricht/tag02/03_kommentare.html | 32 ++++++++++++++ .../unterricht/tag02/04_rechnen-mit-js.html | 0 5 files changed, 114 insertions(+), 3 deletions(-) create mode 100644 01_grundlagen/unterricht/tag02/02_use-strict.html create mode 100644 01_grundlagen/unterricht/tag02/03_kommentare.html create mode 100644 01_grundlagen/unterricht/tag02/04_rechnen-mit-js.html diff --git a/01_grundlagen/docs/tastenkuerzel.md b/01_grundlagen/docs/tastenkuerzel.md index 4200b18..f6ca623 100644 --- a/01_grundlagen/docs/tastenkuerzel.md +++ b/01_grundlagen/docs/tastenkuerzel.md @@ -1,5 +1,6 @@ # Tastenkürzel in VSCode - `STRG + #` Ein- und Auskommentieren. +- `ALT + W` - Markierung in HTML mit einem Element ummanteln - `ALT + SHIFT + ↑` Kopie von Zeile über aktuelle Markierung - `ALT + SHIFT + ↓` Kopie von Zeile unter aktuelle Markierung \ No newline at end of file diff --git a/01_grundlagen/unterricht/tag02/01_alert-prompt-confirm.html b/01_grundlagen/unterricht/tag02/01_alert-prompt-confirm.html index cd7206f..f999341 100644 --- a/01_grundlagen/unterricht/tag02/01_alert-prompt-confirm.html +++ b/01_grundlagen/unterricht/tag02/01_alert-prompt-confirm.html @@ -27,17 +27,55 @@ 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) +

+
+
+ + + + + diff --git a/01_grundlagen/unterricht/tag02/02_use-strict.html b/01_grundlagen/unterricht/tag02/02_use-strict.html new file mode 100644 index 0000000..8180a86 --- /dev/null +++ b/01_grundlagen/unterricht/tag02/02_use-strict.html @@ -0,0 +1,40 @@ + + + + + + use strict - JS in strikten Modus setzen + + + +
+
+

use strict - JS in strikten Modus setzen

+

Viele veraltete Sprachkonstrukte werden nicht mehr akzeptiert

+
+
+ + + + + diff --git a/01_grundlagen/unterricht/tag02/03_kommentare.html b/01_grundlagen/unterricht/tag02/03_kommentare.html new file mode 100644 index 0000000..0a2ba71 --- /dev/null +++ b/01_grundlagen/unterricht/tag02/03_kommentare.html @@ -0,0 +1,32 @@ + + + + + + Kommentare + + + + +
+
+

Kommentare

+ +
+
+ + + diff --git a/01_grundlagen/unterricht/tag02/04_rechnen-mit-js.html b/01_grundlagen/unterricht/tag02/04_rechnen-mit-js.html new file mode 100644 index 0000000..e69de29