CAMPER CAFE
Est. 2020
--- id: 5f356ed63e0fa262326eef05 title: Step 24 challengeType: 0 dashedName: step-24 --- # --description-- Adesso usa il selettore `div` esistente per impostare il colore di sfondo dell'elemento `div` su `burlywood`. # --hints-- Dovresti assegnare alla proprietà `background-color` il valore `burlywood`. ```js const hasBackgroundColor = new __helpers.CSSHelp(document).getCSSRules().some(x => x.style['background-color'] === 'burlywood'); assert(hasBackgroundColor); ``` `div` dovrebbe avere uno sfondo burlywood. ```js const divBackground = new __helpers.CSSHelp(document).getStyle('div')?.getPropertyValue('background-color'); assert(divBackground === 'burlywood'); ``` # --seed-- ## --seed-contents-- ```html
Est. 2020