--- id: 5f356ed63e0fa262326eef05 title: Step 23 challengeType: 0 dashedName: step-23 --- # --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 Cafe Menu

CAMPER CAFE

Est. 2020

Coffee

``` ```css body { /* background-color: burlywood; */ } h1, h2, p { text-align: center; } --fcc-editable-region-- div { width: 300px; } --fcc-editable-region-- ```