French Vanilla
3.00
--- id: 5f45b25e7ec2405f166b9de1 title: Step 81 challengeType: 0 dashedName: step-81 --- # --description-- You change properties of a link when the link has actually been visited by using a pseudo-selector that looks like `a:visited { propertyName: propertyValue; }`. Change the color of the footer `Visit our website` link to be `grey` when a user has visited the link. # --hints-- You should use the `a:visited` pseudoselector. ```js const hasAVisited = new __helpers.CSSHelp(document).getStyle('a:visited'); assert(hasAVisited); ``` You should set the `color` property to `grey`. ```js const hasColor = new __helpers.CSSHelp(document).getCSSRules().some(x => (x.style.color === 'grey' || x.style.color === 'gray')); assert(hasColor); ``` Your `a:visited` should have a `color` of `grey`. ```js const aVisitedColor = new __helpers.CSSHelp(document).getStyle('a:visited')?.getPropertyValue('color'); assert(aVisitedColor === 'grey' || aVisitedColor === 'gray'); ``` # --seed-- ## --seed-contents-- ```html