Learn Basic CSS by Building a Cafe Menu - Step 4

Tell us what’s happening:

Tip keeps saying I have to put the body element after the head element… which ive been doing, but does not work, even by moving around the /body element.

Your code so far

<!DOCTYPE html>
<html lang="en">

<!-- User Editable Region -->


<head> 
<body>
  </body>
    <meta charset="utf-8">
    <title>Cafe Menu</title>
  </head>

<!-- User Editable Region -->

</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

Challenge Information:

Learn Basic CSS by Building a Cafe Menu - Step 4

hello! @justinjungle

We have to add it after the </head> element, not inside the head element.

If you’re still stuck, here is a hint:

hint
</head>
  opening body tag
  closing body tag

Good luck!

1 Like

Hey @justinjungle
An html code should be stacked this way

head
body

Not the other way round,you have nested the body tag inside the head element

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.