mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-27 11:04:01 -05:00
fix(curriculum): Updated Cafe Menu Step 58 font casing (#53941)
This commit is contained in:
@@ -23,7 +23,7 @@ assert(h1h2Selector);
|
||||
You should set the `font-family` to `Impact`.
|
||||
|
||||
```js
|
||||
const hasFontFamily = new __helpers.CSSHelp(document).getCSSRules().some(x => x.style['font-family'] === 'Impact');
|
||||
const hasFontFamily = new __helpers.CSSHelp(document).getCSSRules().some(x => x.style['font-family'].toLowerCase() === 'impact');
|
||||
assert(hasFontFamily);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user