fix(curriculum): typo in hint text for building a nutrition label, step 54 (#51228)

This commit is contained in:
Om Mishra
2023-08-12 18:38:19 +05:30
committed by GitHub
parent 0fb01b9788
commit ffe9e33ca8

View File

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