mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): Updated Cafe Menu Step 58 font casing (#53941)
This commit is contained in:
parent
d94801c7e3
commit
43cf93a3a5
@ -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);
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user