fix(curriculum): typo in hint text for building a nutrition label, step 54 (#51228)
parent
0fb01b9788
commit
ffe9e33ca8
|
@ -29,7 +29,7 @@ Your new `p` element should have three `span` elements.
|
|||
assert(document.querySelector('.daily-value.small-text')?.lastElementChild?.querySelectorAll('span')?.length === 3);
|
||||
```
|
||||
|
||||
A `span` element should wrap the text `Sodium 360mg`.
|
||||
A `span` element should wrap the text `Sodium 160mg`.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('.daily-value.small-text')?.lastElementChild?.firstElementChild?.innerText?.match(/Sodium[\s|\n]160mg/));
|
||||
|
|
Loading…
Reference in New Issue