Build a Recipe Page - Build a Recipe Page

Tell us what’s happening:

Hello, I am a tad bit confused. While running test it says that I am missing the following:
2. you should have an html element with lang set to en.
3. you should have a head element within the html element.
8. you should have a body element w/in html element.

Ground Beef Taco's

Ground Beef Taco's

Quick and easy recipe that you will enjoy!

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
   <title>Ground Beef Taco's</title>
   <meta charset="UTF-8">
  </head>
    <body>
      <main>
          <h1>Ground Beef Taco's</h1>
          <p>Quick and easy recipe that you will enjoy!</p>
          <section>
            <h2>Ingredients</h2>
            <ul>
              <li>Ground Beef</li>
              <li>Taco Seasoning</li>
              <li>Taco Toppings</li>
              <li>Olive oil</li>
            </ul>
            <section>
            <h2>Instructions</h2>
            <ol>
               <li>In a medium pan, warm olive oil, once warm add ground beef and taco seasoning.</li>
               <li>Stirring occassionally, add a cup of beef or chicken stock and tomato paste.
               <li>Continue to stir until it thickens. While waiting prepare your taco shells and toppings.
               <li>Once your meat is ready, add to your taco shell and add toppings, or eat as a taco salad.</li>
            </ol>
<img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt="Quick and easy!">

Your browser information:

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

Challenge Information:

Build a Recipe Page - Build a Recipe Page

Hi there and welcome to our community!

Your html and body elements are missing closing tags.

The basic structure of the HTML document should be:

<!DOCTYPE html>
<html>
  <head>
   <!-- title, meta, link elements here -->
  </head>
  <body>
    <!-- document body elements here -->
  </body>
</html>

Also, on a grammatical point, you shouldn’t include an apostrophe in ‘Ground Beef Tacos’.

EDIT: It looks like you’re also missing closing tags for a couple of li and section elements.

1 Like

Hello. Thank you for the warm welcome. Thank you so much! Will add closing tags and fix grammar. I’ve been going cray cray trying to figure out what I’ve been doing wrong, also kind of hard on my own. I greatly appreciate your feedback so much.

1 Like

omg - I was missing the closing tags for just body & html !

you just made my day!

1 Like

It’s a good idea when you add new elements to a document to create the opening and closing tags at the same time (except for elements like img e.g. which only have one tag).
You are missing closing tags for some li and section elements too…

1 Like

adjusted! thank you - awesome advice, will do that moving forward!

1 Like