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:
Kristofer Koishigawa
2021-12-20 16:24:07 +09:00
committed by GitHub
parent 45168d1834
commit 307b35317b

View File

@@ -30,7 +30,7 @@ Your `meta` element should have a `charset` attribute set to `utf-8`.
```js
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);
```