Learn Basic CSS by Building a Cafe Menu - Step 4

Tell us what’s happening:
Describe your issue in detail here. " Your body element should come after your head element." is this not below it? help please

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/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15

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

Link to the challenge:

Not quite. You placed the body element within (or inside) the head element. You want to place it completely after the head element.

Oh, I should have looked more carefully. You placed the opening body tag inside of the head element and you placed the closing body tag after the head element. This is invalid HTML. The body element (i.e. both the opening and closing body tags) should be placed after the head element.

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