mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-09 16:01:39 -04:00
fix(curriculum): replace 'tag' with 'element' in cafe-menu challenges (#60030)
This commit is contained in:
@@ -31,7 +31,7 @@ You should not change your existing `body` element. Make sure you did not delete
|
||||
assert.lengthOf(document.querySelectorAll('body'), 1);
|
||||
```
|
||||
|
||||
Your `div` tag should be nested in the `body`.
|
||||
Your `div` element should be nested in the `body`.
|
||||
|
||||
```js
|
||||
assert.equal(document.querySelector('div')?.parentElement?.tagName, 'BODY');
|
||||
@@ -79,4 +79,3 @@ h1, h2, p {
|
||||
text-align: center;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ You should not change your existing `body` element. Make sure you did not delete
|
||||
assert.lengthOf(document.querySelectorAll('body'), 1);
|
||||
```
|
||||
|
||||
Your `div` tag should be nested in the `body`.
|
||||
Your `div` element should be nested in the `body`.
|
||||
|
||||
```js
|
||||
assert.equal(document.querySelector('div')?.parentElement?.tagName, 'BODY');
|
||||
@@ -79,4 +79,3 @@ h1, h2, p {
|
||||
text-align: center;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user