Build a Recipe Page - Build a Recipe Page

Tell us what’s happening:

my code keeps failing test check 8, what is missing?

Your code so far

<!DOCTYPE html>
  <html lang="en">
      <head>
      <meta charset="UTF-8">
        <title>Vegan Treat</title>
         <body>
          <h1>Vegan Beneigt</h1>
          <p>This is a classic dessert found on the streets of <em>NEw Orleans</em> but made with vegans in mind.
          </p>
        <h2>Ingredients</h2>
          <ul>
            <li>eggs
            <li>flour
            <li>Palm sugar
            <li>Vegan butter
            <li>Coconut milk
          </ul>
        <h2>Instructions</h2>
          <ol>
            <li>bought groceries
            <li>follow insturctions of recipe
            <li>enjoy
            <li>post it
          </ol>
        <img src="https://tatyanaseverydayfood.com/wp-content/uploads/2022/10/Sea-Salt-Caramel-Beignets-Recipe-2.jpg" alt="beingets drizzled with caramel">
      </meta>
    </body>
   </head>
  </html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:137.0) Gecko/20100101 Firefox/137.0

Challenge Information:

Build a Recipe Page - Build a Recipe Page

do you think your body element is inside the html element as requested?

i can say yes, but i need an explanation, because i’m clearly not seeing what its asking for.

The closing head tag needs to go before the body tag begins. So the closing head tag should be placed immediately after the title is closed.

Let us know if that works

1 Like

meta also does not need a closing tag because it’s a void element (void elements are self-closing). You can take that out.

1 Like

Thank you as soon as you said that it clicked. I really appreciate it, because i was looking at others and i was like what am i doing wrong? Ok that actually worked. I will play with it more and really make a page. i was just practicing on a structure that looks neat and readable.
Again thank you very much

yeah of course! recipe sounds good by the way lol

also it may give you more issues because all list elements need to be closed after you list the item. Just noticed this.

For example:
(open list tag) eggs (closed list tag)
(open list tag) flour (closed list tag)

1 Like