fix(curriculum): fix hint for main tag placement (CatPhotoApp Step 5) (#48504)

fix(curriculum): fix hint
This commit is contained in:
YMatsuda 2022-11-15 02:57:53 +09:00 committed by GitHub
parent 483e04a712
commit be0a8f1e58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');