Skip to content

Commit c9a77a4

Browse files
authored
fix(curriculum): add new test case to Cafe Menu step 20 (freeCodeCamp#57890)
1 parent 4cb38d9 commit c9a77a4

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed6cf6eab5f15f5cfe6.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ Your `div` tag should be nested in the `body`.
3737
assert.equal(document.querySelector('div')?.parentElement?.tagName, 'BODY');
3838
```
3939
40+
You should move all the other elements inside the new `div`.
41+
42+
```js
43+
assert.lengthOf(document.querySelector('body > div#menu > main')?.children, 3);
44+
```
4045
4146
# --seed--
4247

curriculum/challenges/english/25-front-end-development/workshop-cafe-menu/5f356ed6cf6eab5f15f5cfe6.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ Your `div` tag should be nested in the `body`.
3737
assert.equal(document.querySelector('div')?.parentElement?.tagName, 'BODY');
3838
```
3939
40+
You should move all the other elements inside the new `div`.
41+
42+
```js
43+
assert.lengthOf(document.querySelector('body > div#menu > main')?.children, 3);
44+
```
4045
4146
# --seed--
4247

0 commit comments

Comments
 (0)