fix(curriculum): replace 'tag' with 'element' in cafe-menu challenges (#60030)

This commit is contained in:
Vishal Shetty
2025-04-29 01:04:54 +05:30
committed by GitHub
parent c9799c370e
commit ae6783decc
2 changed files with 2 additions and 4 deletions

View File

@@ -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;
}
```

View File

@@ -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;
}
```