fix(curriculum): fixed mistakes in the source string (#45448)

* chore: fixed mistakes in the source string

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e7.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
This commit is contained in:
Farhan Hasin Chowdhury
2022-03-18 21:42:26 +06:00
committed by GitHub
parent f20e8f4860
commit c46cf6e5ca

View File

@ -13,7 +13,7 @@ After the `main` element, add a `footer` element.
# --hints--
You have either deleted the `main` element or it is missing an opening tag or closing tag."
You have either deleted the `main` element or it is missing an opening tag or closing tag.
```js
assert(document.querySelector('main') && code.match(/<\/main>/));
@ -31,7 +31,7 @@ Your `footer` element should have a closing tag. Closing tags have a `/` just af
assert(code.match(/<\/footer\>/));
```
Your `footer` element should the below the closing `main` element tag. You have it put it somewhere else.
Your `footer` element should be below the closing `main` element tag. You have put it somewhere else.
```js
assert(document.querySelector('main').nextElementSibling.nodeName === 'FOOTER');