Learn Basic CSS by Building a Cafe Menu - Step 4

Tell us what’s happening:
Describe your issue in detail here.
I think I put the body element in the right place but it is not working

  **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.102 Safari/537.36

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

Link to the challenge:

body elements should be placed after the head element

Close!

The <head> element contains important meta information about the page, such as a title or styling. The <body> however contains the pages actual content. As such it can’t be placed within the <head>

1 Like