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

pull/51250/head
Om Mishra 2023-08-12 18:38:19 +05:30 committed by GitHub
parent 0fb01b9788
commit ffe9e33ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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