Learn Basic CSS by Building a Cafe Menu - Step 4

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

I need to add the body tag below the . As far as I can see, I’ve done just that. But it still won’t accept the code. Please help!!

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

<!-- User Editable Region -->

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

<!-- User Editable Region -->

</html>

Your browser information:

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

Challenge: Learn Basic CSS by Building a Cafe Menu - Step 4

Link to the challenge:

Hi there and welcome to our community!

For the body element to be below the head, it needs to come after the closing head tag. Is it is in your code, the body is nested inside the head.

The meta and title elements should remain inside the head. The body will contain all of the elements which are visible to the user (i.e. the page content).

1 Like

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