--- id: 5d822fd413a79914d39e98e0 title: Step 24 challengeType: 0 dashedName: step-24 --- # --description-- Crea una nuova variabile sotto le altre, chiamala `--building-color3` e dalle il valore `#cc6699`. Quindi usala come valore di `background-color` della classe `.bb3` e aggiungi un valore di fallback `pink`. # --hints-- Dovresti definire una nuova variabile di proprietà chiamata `--building-color3`. ```js assert.exists(new __helpers.CSSHelp(document).isPropertyUsed('--building-color3')); ``` Dovresti dare a `--building-color3` il valore `#cc6699`. ```js assert.equal(new __helpers.CSSHelp(document).getStyle('.bb1')?.getPropertyValue('--building-color3')?.trim(), '#cc6699'); ``` Dovresti impostare la proprietà `background-color` di `.bb3`. ```js assert.exists(new __helpers.CSSHelp(document).getStyle('.bb3')?.backgroundColor); ``` Dovresti impostare la proprietà `background-color` usando la variabile `--building-color3` e il fallback `pink`. ```js assert.equal(new __helpers.CSSHelp(document).getStyle('.bb3')?.backgroundColor.trim(), 'var(--building-color3, pink)'); ``` # --seed-- ## --seed-contents-- ```html