Files
freeCodeCamp/curriculum/challenges/english/01-responsive-web-design/basic-css-cafe-menu/step-004.md
Nicholas Carrigan (he/him) b36cdbafd1 chore: rename "part" to "step" (#43934)
* chore: rename part to step

* chore: update metas

* chore: more renaming

* chore: update tooling

* chore: update frontmatter

* chore(tools): title testing
2021-10-21 18:07:52 +01:00

874 B

id, title, challengeType, dashedName
id title challengeType dashedName
5f3326b143638ee1a09ff1e3 Step 4 0 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.

assert(code.match(/<body>/i));

You should have a closing </body> tag.

assert(code.match(/<\/body>/i));

You should not change your head element. Make sure you did not delete your closing tag.

assert(code.match(/<head>/i));
assert(code.match(/<\/head>/i));

Your body element should come after your head element.

assert(code.match(/<\/head>[.\n\s]*<body>/im));

--seed--

--seed-contents--

<!DOCTYPE html>
<html>
--fcc-editable-region--
  <head>
    <meta charset="utf-8" />
    <title>Camper Cafe Menu</title>
  </head>
--fcc-editable-region--
<html>