fix(curriculum): Updated Cafe Menu Step 58 font casing (#53941)

This commit is contained in:
Busola Tom
2024-03-01 06:52:11 +00:00
committed by GitHub
parent d94801c7e3
commit 43cf93a3a5

View File

@@ -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);
```