mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-22 21:08:12 +08:00
fix(curriculum): fix hint for main tag placement (CatPhotoApp Step 5) (#48504)
fix(curriculum): fix hint
This commit is contained in:
parent
483e04a712
commit
be0a8f1e58
@ -25,7 +25,7 @@ Your `main` element should have a closing tag. Closing tags have a `/` just afte
|
||||
assert(code.match(/<\/main\>/));
|
||||
```
|
||||
|
||||
Your `main` element's opening tag should be below the `body` element. You have them in the wrong order.
|
||||
Your `main` element's opening tag should be below the `body` element's opening tag. You have them in the wrong order.
|
||||
|
||||
```js
|
||||
const main = document.querySelector('main');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user