mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-24 12:13:31 +08:00
fix(curriculum): add missing test to nutrition label step 61 (#53274)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
+6
@@ -32,6 +32,12 @@ Your new `p` element should have the `class` attribute set to `no-divider`.
|
||||
assert(document.querySelector('.daily-value.small-text p:last-of-type')?.classList?.contains('no-divider'));
|
||||
```
|
||||
|
||||
You should have a `span` element with the class `bold` around the text `Protein`.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein');
|
||||
```
|
||||
|
||||
Your new `div` should have the `class` attribute set to `divider large`.
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user