fix(curriculum): fix tag and element usage in magazine project step 1 (#45856)

This commit is contained in:
Ilenia
2022-05-03 20:23:13 +02:00
committed by GitHub
parent ebf7186b44
commit 2a9b2b02fa

View File

@@ -9,7 +9,7 @@ dashedName: step-1
Begin with your standard HTML boilerplate. Add a `DOCTYPE` declaration, an `html` element, a `head` element, and a `body` element.
Add a `meta` tag with the appropriate `charset` and a `meta` tag for mobile responsiveness within the `head` element.
Add a `<meta>` tag with the appropriate `charset` and a `<meta>` tag for mobile responsiveness within the `head` element.
# --hints--
@@ -55,25 +55,25 @@ Your `DOCTYPE` declaration should be at the beginning of your HTML.
assert(__helpers.removeHtmlComments(code).match(/^\s*<!DOCTYPE\s+html\s*>/i));
```
You should have an opening `head` tag.
You should have an opening `<head>` tag.
```js
assert(code.match(/<head\s*>/i));
```
You should have a closing `head` tag.
You should have a closing `</head>` tag.
```js
assert(code.match(/<\/head\s*>/i));
```
You should have an opening `body` tag.
You should have an opening `<body>` tag.
```js
assert(code.match(/<body\s*>/i));
```
You should have a closing `body` tag.
You should have a closing `</body>` tag.
```js
assert(code.match(/<\/body\s*>/i));