--- id: 614206033d366c090ca7dd42 title: Step 17 challengeType: 0 dashedName: step-17 --- # --description-- Typeface plays an important role in the accessibility of a page. Some fonts are easier to read than others, and this is especially true on low-resolution screens. Change the font for both the `h1` and `h2` elements to `Verdana`, and use another web-safe font in the sans-serif family as a fallback. Also, add a `border-bottom` of `4px solid #dfdfe2` to `h2` elements to make the sections distinct. # --hints-- You should use a multiple element selector to target the `h1` and `h2` elements. ```js const gs = (s) => new __helpers.CSSHelp(document).getStyle(s); assert.exists(gs('h1, h2') || gs('h2, h1')); ``` You should set the first value of the `font-family` property to `Verdana`. ```js const gs = (s) => new __helpers.CSSHelp(document).getStyle(s); const style = gs('h1, h2') || gs('h2, h1'); assert.include(style?.fontFamily, 'Verdana'); ``` You should set the second value of the `font-family` property to another sans-serif, web safe font. _Hint: I would choose Tahoma_. ```js // Acceptable fonts: Arial, sans-serif, Helvetica, Tahoma, Trebuchet MS. const gs = (s) => new __helpers.CSSHelp(document).getStyle(s); const style = gs('h1, h2') || gs('h2, h1'); assert.match(style?.fontFamily, /(Tahoma)|(Arial)|(sans-serif)|(Helvetica)|(Trebuchet MS)/); ``` You should use an `h2` element selector to target the `h2` elements. ```js assert.exists(new __helpers.CSSHelp(document).getStyle('h2')); ``` You should give `h2` a `border-bottom` property of `4px solid #dfdfe2`. ```js assert.equal(new __helpers.CSSHelp(document).getStyle('h2')?.borderBottom, '4px solid rgb(223, 223, 226)'); ``` # --seed-- ## --seed-contents-- ```html