* chore: rename files * chore: update codebase * chore: proper title case * chore: missed block name Co-authored-by: Shaun Hamilton <shauhami020@gmail.com> Co-authored-by: Shaun Hamilton <shauhami020@gmail.com> Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
55 lines
874 B
Markdown
55 lines
874 B
Markdown
---
|
|
id: 5f3326b143638ee1a09ff1e3
|
|
title: Step 4
|
|
challengeType: 0
|
|
dashedName: step-4
|
|
---
|
|
|
|
# --description--
|
|
|
|
To prepare to create some actual content, add a `body` element below the `head` element.
|
|
|
|
# --hints--
|
|
|
|
You should have an opening `<body>` tag.
|
|
|
|
```js
|
|
assert(code.match(/<body>/i));
|
|
```
|
|
|
|
You should have a closing `</body>` tag.
|
|
|
|
```js
|
|
assert(code.match(/<\/body>/i));
|
|
```
|
|
|
|
You should not change your `head` element. Make sure you did not delete your closing tag.
|
|
|
|
```js
|
|
assert(code.match(/<head>/i));
|
|
assert(code.match(/<\/head>/i));
|
|
```
|
|
|
|
Your `body` element should come after your `head` element.
|
|
|
|
```js
|
|
assert(code.match(/<\/head>[.\n\s]*<body>/im));
|
|
```
|
|
|
|
# --seed--
|
|
|
|
## --seed-contents--
|
|
|
|
```html
|
|
<!DOCTYPE html>
|
|
<html>
|
|
--fcc-editable-region--
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Camper Cafe Menu</title>
|
|
</head>
|
|
--fcc-editable-region--
|
|
<html>
|
|
```
|
|
|