French Vanilla
3.00
--- id: 5f45b25e7ec2405f166b9de1 title: Step 81 challengeType: 0 dashedName: step-81 --- # --description-- Puoi cambiare le proprietà di un link che è già stato visitato usando il seguente pseudo-selettore: `a:visited { nomeProprietà: valoreProprietà; }`. Cambia il colore del link nel piè di pagina `Visit our website` in `grey` quando un utente ha visitato il link. # --hints-- Dovresti utilizzare lo pseudoselettore `a:visited`. ```js const hasAVisited = new __helpers.CSSHelp(document).getStyle('a:visited'); assert(hasAVisited); ``` Dovresti assegnare alla proprietà `color` il valore `grey`. ```js const hasColor = new __helpers.CSSHelp(document).getCSSRules().some(x => (x.style.color === 'grey' || x.style.color === 'gray')); assert(hasColor); ``` `a:visited` dovrebbe avere una proprietà `color` con il valore `grey`. ```js const aVisitedColor = new __helpers.CSSHelp(document).getStyle('a:visited')?.getPropertyValue('color'); assert(aVisitedColor === 'grey' || aVisitedColor === 'gray'); ``` # --seed-- ## --seed-contents-- ```html