mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-09 01:01:04 -04:00
fix(curriculum): add new test case to Cafe Menu step 20 (#57890)
This commit is contained in:
@@ -37,6 +37,11 @@ Your `div` tag should be nested in the `body`.
|
||||
assert.equal(document.querySelector('div')?.parentElement?.tagName, 'BODY');
|
||||
```
|
||||
|
||||
You should move all the other elements inside the new `div`.
|
||||
|
||||
```js
|
||||
assert.lengthOf(document.querySelector('body > div#menu > main')?.children, 3);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
|
||||
@@ -37,6 +37,11 @@ Your `div` tag should be nested in the `body`.
|
||||
assert.equal(document.querySelector('div')?.parentElement?.tagName, 'BODY');
|
||||
```
|
||||
|
||||
You should move all the other elements inside the new `div`.
|
||||
|
||||
```js
|
||||
assert.lengthOf(document.querySelector('body > div#menu > main')?.children, 3);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user