Learn Basic CSS by Building a Cafe Menu - Step 4

Tell us what’s happening:
So the issue I am having right now is that I put the body after the head but it is still saying its wrong.

  **Your code so far**
<!DOCTYPE html>
<html lang="en">
<head>
<body></body>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
</head>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.54

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

Link to the challenge:

Your body element is inside of the head element.

Thank you. I didn’t think about that. I was putting it after the wrong head element

The terminology can be confusing… You put it after the opening head tag. The head element consists of both the opening and closing tag and all the content between the tags.

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