Learn Basic CSS by Building a Cafe Menu - Step 4

Tell us what’s happening:

I swear I’m doing this right but no matter where I put the body element’s close tag it’s saying it’s wrong.

Your code so far

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

<!-- User Editable Region -->

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

<!-- User Editable Region -->


Your browser information:

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

Challenge Information:

Learn Basic CSS by Building a Cafe Menu - Step 4

Hey! Try ending the head element before the body element starts.

(Also: which of those should the meta element go in?)

“…add a body element below the head element.”

Adding something below an element means the same thing as adding something completely after the element. Thus, you want to add the body element completely after the head element. You added the body element inside of the head element.

Thank you, yeah you were right. It was that I needed to put the body element BELOW the closing tag of the head element. Where everything I’ve seen has had the body element nested INSIDE the head elements which is what had me mixed up

that’s quite unlikely… the head is for metadata, the body is for the elements on the page, they should not be one inside the other