mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-05 21:03:24 -05:00
fix(curriculum): typo in hint text for building a nutrition label, step 54 (#51228)
This commit is contained in:
@@ -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/));
|
||||
|
||||
Reference in New Issue
Block a user