Learn Basic CSS by Building a Cafe Menu - Step 4

Tell us what’s happening:

Whyy???

Your code so far

<!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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

Challenge Information:

Learn Basic CSS by Building a Cafe Menu - Step 4

1 Like

Hi @AnxietyDealer

Please place the opening body tag below the closing head tag.
Then place the closing body tag below the opening body tag.

This way the elements are correctly nested.

Happy coding

2 Likes

Great work! Erase the ‘body’ tags. Then after the closing ‘header’ tag and before the closing ‘html’ tag, that is where the opening and closing ‘body’ tags go.

1 Like