diff --git a/02_advanced/unterricht/tag11/01_objekte.html b/02_advanced/unterricht/tag11/01_objekte.html
index 1087979..32b8409 100644
--- a/02_advanced/unterricht/tag11/01_objekte.html
+++ b/02_advanced/unterricht/tag11/01_objekte.html
@@ -5,6 +5,7 @@
Object - object
+
@@ -88,6 +89,39 @@
console.log(personObj.schiess());
console.log(personObj.age); // => 45
+
+ // =============================
+
+ const cssProp = 'border';
+ const color = 'white';
+
+ const cssObj = {
+ 'background-color': '#555',
+ 'margin-top': '1rem',
+ border: '3px solid tomato',
+ // fontSize, // Uncaught ReferenceError: fontSize is not defined
+ // color: color,
+ color, // Kurzschreibweise seit ES6 - wenn Eigenschaft und Variable gleiche Bezeichnung besitzen
+ };
+
+ console.log(cssObj['background-color']); //=> '#555'
+ console.log(cssObj[cssProp]); //=> '3px solid tomato'
+
+ console.log(cssObj.color); //=> 'white'
+
+ // =========================
+
+ // document.querySelector('h1').style.color = cssObj.color;
+ // document.querySelector('h1').style.backgroundColor = cssObj['background-color'];
+ // document.querySelector('h1').style.padding = '1rem';
+ // document.querySelector('h1').style.border = cssObj['border'];
+
+ $('h1').css({
+ color: 'white',
+ backgroundColor: '#555',
+ padding: '1rem',
+ border: '3px solid tomato',
+ });