Back to Freecodecamp

Step 4

curriculum/challenges/english/blocks/learn-basic-css-by-building-a-cafe-menu/5f3326b143638ee1a09ff1e3.md

latest788 B
Original Source

--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 lang="en">
--fcc-editable-region--
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
  </head>
--fcc-editable-region--
</html>