diff --git a/01_grundlagen/agenda.md b/01_grundlagen/agenda.md index 06971ae..4bfdff0 100644 --- a/01_grundlagen/agenda.md +++ b/01_grundlagen/agenda.md @@ -79,7 +79,6 @@ theme: default - Relationale Operatoren & Vergleichoperatoren - isNaN - Lexikographische Vergleiche -- if else Verzweigung und ternärer Operator - **Exkurs: HTML-Formularfelder** - 1:1 Meeting @@ -94,6 +93,7 @@ theme: default **Inhalt:** - **Exkurs: HTML Formularfelder mit BS** +- if else Verzweigung und ternärer Operator - logische Operatoren UND und ODER - unärer Operator (!) - String Methoden Part I diff --git a/01_grundlagen/uebungen/o01_kontaktformular-ersin.html b/01_grundlagen/uebungen/o01_kontaktformular-ersin.html new file mode 100644 index 0000000..b961164 --- /dev/null +++ b/01_grundlagen/uebungen/o01_kontaktformular-ersin.html @@ -0,0 +1,209 @@ + + + + + + FormularUebung + + + +
+
+

FormularUebung

+ +
+
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ +
+
+
+ +
+
+
+
+
+
+ + + diff --git a/01_grundlagen/unterricht/tag05/01_is-nan.html b/01_grundlagen/unterricht/tag05/01_is-nan.html index 491640f..ab7757e 100644 --- a/01_grundlagen/unterricht/tag05/01_is-nan.html +++ b/01_grundlagen/unterricht/tag05/01_is-nan.html @@ -27,6 +27,7 @@ console.log(isNaN(3)); // => false console.log(isNaN('Hallo')); // => true + // seit ES6 (2015) console.log(Number.isNaN('Hallo')); // => true @@ -44,6 +45,7 @@ console.log(isNaN('3,5')); //=> true - Eselsbrücke mit 2 multiplizieren -> '3,5' * 2 => NaN console.log(isNaN('3m')); //=> '3m' * 2 -> NaN --> true + console.log(isNaN(NaN)); //=> true // Verneinung über ! - unärer Operator (NOT) console.log(!isNaN('17.7')); // => true diff --git a/01_grundlagen/unterricht/tag05/02_reichweite-verbrauch-formular.html b/01_grundlagen/unterricht/tag05/02_reichweite-verbrauch-formular.html index 7a66180..d02b8d3 100644 --- a/01_grundlagen/unterricht/tag05/02_reichweite-verbrauch-formular.html +++ b/01_grundlagen/unterricht/tag05/02_reichweite-verbrauch-formular.html @@ -75,6 +75,7 @@ 'use strict'; // DOM & Variablendeklaration + const DOM = { // eigenschaft: 'Wert', formCalculator: document.querySelector('.form-calculator'), @@ -84,6 +85,7 @@ buttonCalculate: document.querySelector('.button-calculate'), output: document.querySelector('.output'), }; + // const formCalculatorEl = document.querySelector('.form-calculator'); // const inputDistanceEl = document.querySelector('.input-distance'); // const inputFuelUsedEl = document.querySelector('.input-fuel-used'); diff --git a/01_grundlagen/unterricht/tag05/alle-formularfelder.html b/01_grundlagen/unterricht/tag05/alle-formularfelder.html index b2a8fee..e622969 100644 --- a/01_grundlagen/unterricht/tag05/alle-formularfelder.html +++ b/01_grundlagen/unterricht/tag05/alle-formularfelder.html @@ -266,11 +266,12 @@
- + +
- +