Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-004.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
This commit is contained in:
committed by
GitHub
parent
45168d1834
commit
307b35317b
@@ -30,7 +30,7 @@ Your `meta` element should have a `charset` attribute set to `utf-8`.
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
const meta = [...document.querySelectorAll('meta')];
|
const meta = [...document.querySelectorAll('meta')];
|
||||||
const target = meta?.find(m => m?.getAttribute('charset').toLowerCase() === 'utf-8');
|
const target = meta?.find(m => m?.getAttribute('charset')?.toLowerCase() === 'utf-8');
|
||||||
assert.exists(target);
|
assert.exists(target);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user