From 1647e6cac7096d191f130764ab9ace7d907ee2d8 Mon Sep 17 00:00:00 2001 From: Philippe Torrel Date: Tue, 16 Jun 2026 15:42:48 +0200 Subject: [PATCH] --- 01_grundlagen/docs/programmierrichtlinien.md | 1 + 01_grundlagen/linksammlung.md | 2 + .../unterricht/tag02/03_use-strict.html | 38 ++++++++++++ .../unterricht/tag02/04_kommentare.html | 44 ++++++++++++++ .../unterricht/tag02/05_rechnen-in-js.html | 42 +++++++++++++ .../unterricht/tag02/06_strings.html | 57 ++++++++++++++++++ .../unterricht/tag02/07_strings-length.html | 59 +++++++++++++++++++ .../unterricht/tag02/08_literale.html | 36 +++++++++++ 01_grundlagen/unterricht/tag02/09_typeof.html | 59 +++++++++++++++++++ .../unterricht/tag02/10_prioritaeten.html | 57 ++++++++++++++++++ 10 files changed, 395 insertions(+) create mode 100644 01_grundlagen/unterricht/tag02/03_use-strict.html create mode 100644 01_grundlagen/unterricht/tag02/04_kommentare.html create mode 100644 01_grundlagen/unterricht/tag02/05_rechnen-in-js.html create mode 100644 01_grundlagen/unterricht/tag02/06_strings.html create mode 100644 01_grundlagen/unterricht/tag02/07_strings-length.html create mode 100644 01_grundlagen/unterricht/tag02/08_literale.html create mode 100644 01_grundlagen/unterricht/tag02/09_typeof.html create mode 100644 01_grundlagen/unterricht/tag02/10_prioritaeten.html diff --git a/01_grundlagen/docs/programmierrichtlinien.md b/01_grundlagen/docs/programmierrichtlinien.md index d10f933..43e750f 100644 --- a/01_grundlagen/docs/programmierrichtlinien.md +++ b/01_grundlagen/docs/programmierrichtlinien.md @@ -2,3 +2,4 @@ - Schreibe immer genau eine Anweisung in genau eine Zeile. - Setze beim Beenden einer Anweisung das Semikolon. +- Verwende im Normalfall einfache Anführungszeichen zur Begrenzung von Strings. (prefer: Single Quote) diff --git a/01_grundlagen/linksammlung.md b/01_grundlagen/linksammlung.md index 788b370..c9121a1 100644 --- a/01_grundlagen/linksammlung.md +++ b/01_grundlagen/linksammlung.md @@ -14,6 +14,8 @@ - [State Of JS 2025](https://2025.stateofjs.com/en-US) - [Bootstrap 5](https://getbootstrap.com/) - [MDN - Mozilla Developer Network](https://developer.mozilla.org/) +- [JavaScript Historie](https://de.wikipedia.org/wiki/JavaScript) +- [Can I Use](https://caniuse.com/) ## Tools/ Software diff --git a/01_grundlagen/unterricht/tag02/03_use-strict.html b/01_grundlagen/unterricht/tag02/03_use-strict.html new file mode 100644 index 0000000..50faefb --- /dev/null +++ b/01_grundlagen/unterricht/tag02/03_use-strict.html @@ -0,0 +1,38 @@ + + + + + + use strict - JS in den strikten Modus setzen + + + +
+
+

use strict - JS in den strikten Modus setzen

+

Viele veraltete Sprachkonstrukte werden nicht mehr akzeptiert

+
+
+ + + + + diff --git a/01_grundlagen/unterricht/tag02/04_kommentare.html b/01_grundlagen/unterricht/tag02/04_kommentare.html new file mode 100644 index 0000000..5eeca25 --- /dev/null +++ b/01_grundlagen/unterricht/tag02/04_kommentare.html @@ -0,0 +1,44 @@ + + + + + + Kommentare in JS + + + + + +
+
+

Kommentare in JS

+ +
+
+
+ + + diff --git a/01_grundlagen/unterricht/tag02/05_rechnen-in-js.html b/01_grundlagen/unterricht/tag02/05_rechnen-in-js.html new file mode 100644 index 0000000..12fc79d --- /dev/null +++ b/01_grundlagen/unterricht/tag02/05_rechnen-in-js.html @@ -0,0 +1,42 @@ + + + + + + Rechnen in JS + + + +
+
+

Rechnen in JS

+

arithmetischen Operatoren

+
    +
  • + Addition
  • +
  • - Subtraktion
  • +
  • * Multiplikation
  • +
  • / Division
  • +
  • % Modulo - Rest einer ganzzahligen Division
  • +
  • ** Potenz (erst ab ECMAScript 2016)
  • +
+
+
+ + + diff --git a/01_grundlagen/unterricht/tag02/06_strings.html b/01_grundlagen/unterricht/tag02/06_strings.html new file mode 100644 index 0000000..da718ab --- /dev/null +++ b/01_grundlagen/unterricht/tag02/06_strings.html @@ -0,0 +1,57 @@ + + + + + + Datentyp - String + + + +
+
+

Datentyp - String

+

+ + String Objekt + + - Das globale String-Objekt ist ein Konstruktor für Strings, auch Zeichenketten genannt. +

+ +
+
+
+ + + diff --git a/01_grundlagen/unterricht/tag02/07_strings-length.html b/01_grundlagen/unterricht/tag02/07_strings-length.html new file mode 100644 index 0000000..c6fe12e --- /dev/null +++ b/01_grundlagen/unterricht/tag02/07_strings-length.html @@ -0,0 +1,59 @@ + + + + + + Datentyp - String + + + +
+
+

Datentyp - String

+

+ + String Objekt + + - Das globale String-Objekt ist ein Konstruktor für Strings, auch Zeichenketten genannt. +

+ +
+
+
+ + + diff --git a/01_grundlagen/unterricht/tag02/08_literale.html b/01_grundlagen/unterricht/tag02/08_literale.html new file mode 100644 index 0000000..7a8da93 --- /dev/null +++ b/01_grundlagen/unterricht/tag02/08_literale.html @@ -0,0 +1,36 @@ + + + + + + Literale + + + +
+
+

Literale

+

+ Grundsätzlich gilt, dass jeder Wert — egal ob String oder Zahl — der direkt wörtlich (engl.: literally) im + Code steht, als Literal bezeichnet wird. Literale haben immer einen festen Wert. +

+ +

Beispiele für Literale

+
    +
  • 42
  • +
  • 'Haus'
  • +
  • 'grün'
  • +
  • 5.47
  • +
  • 1998
  • +
  • 'Bitte geben Sie Ihren Namen ein'
  • +
  • 'use strict'
  • +
  • true
  • +
  • '1 + 4'
  • +
+
+
+ + + diff --git a/01_grundlagen/unterricht/tag02/09_typeof.html b/01_grundlagen/unterricht/tag02/09_typeof.html new file mode 100644 index 0000000..bf39acc --- /dev/null +++ b/01_grundlagen/unterricht/tag02/09_typeof.html @@ -0,0 +1,59 @@ + + + + + + Datentypen und der Befehl "typeof" in JS + + + +
+
+

Datentypen und der Befehl "typeof" in JS

+
+
+
+ + + diff --git a/01_grundlagen/unterricht/tag02/10_prioritaeten.html b/01_grundlagen/unterricht/tag02/10_prioritaeten.html new file mode 100644 index 0000000..4b08f4d --- /dev/null +++ b/01_grundlagen/unterricht/tag02/10_prioritaeten.html @@ -0,0 +1,57 @@ + + + + + + Prioritäten-Tabelle + + + +
+
+

Prioritäten-Tabelle

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Priorität / PräzedenzNameOperator
1GruppierungsoperatorKlammern ()
2typeof-Operatortypeof
3Multiplikation, Division, Modulo* / %
4Addition, Subtraktion+ -
5Zuweisungsoperator=
+
+
+ + +