fix(curriculum): add new test case to Cafe Menu step 20 (#57890)

This commit is contained in:
Agung Saputra
2025-01-06 16:44:25 +07:00
committed by GitHub
parent 4cb38d998a
commit c9a77a4e41
2 changed files with 10 additions and 0 deletions

View File

@@ -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--

View File

@@ -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--