Build a recipe Problem

Not sure what’s wrong with my code. It’s telling me to set html lang to “en” and also have a head element within the html element, also have a body element within the html element but I’m pretty sure I have all those…

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8"/>
    <title>Beer Can Chicken Recipe</title>
  </head>
  <body>
  <h1>Beer Can Chicken</h1>
    <p>Beer Chicken is a popular dish that combines the flavors of beer and chicken for a moist and flavorful meal. Here's a recipe for Beer Can Chicken that you can try at home<img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt="Succulent beer can chicken"</p>
  <h2>Ingredients</h2>
    <ul>
      <li>Brown Sugar: 80ml</li>
      <li>Chili Powder: 10g</li>
      <li>Paprika: 10g</li>
      <li>Dry mustard: 6g</li>
      <li>Salt: 2.5g</li>
      <li>Ground black pepper: 1.25g</li>
      <li>Beer: .5 can</li>
      <li>Chicken</li>
    </ul>
  <h2>Instructions</h2>
    <ol>
      <li>Preheat an outdoor grill for medium-high heat, about 375 degrees F (190 degrees C)</li>
      <li>Mix brown sugar, chili powder, paprika, dry mustard, salt, and black pepper in a small bowl</li>
      <li>Place half-full can of beer in the center of a plate</li>
      <li>Rinse chicken under cold running water. Discard giblets and neck from chicken; drain and pat dry</li>
      <li>Fit whole chicken over the can of beer with the legs on the bottom; keep upright. Sprinkle 1 teaspoon of seasoning mix into the top cavity of chicken. Beer may foam up when seasonings fall inside the can</li>
      <li>Rub remaining seasoning mix over entire surface of chicken</li>
      <li>Place chicken, standing on the can, directly on the preheated grill. Close the lid and cook chicken until no longer pink at the bone and the juices run clear, about 1 hour 15 minutes. An instant-read thermometer inserted into the thickest part of the thigh, near the bone should read 165 degrees F (74 degrees C)</li>
      <li>Remove chicken from the grill and discard beer can. Cover chicken with a doubled sheet of aluminum foil, and allow to rest in a warm area for 10 minutes before slicing</li>
    </ol>
  </body>
</hmtl>

I’ve tried resetting the module and repasting, restarting and going line by line.

Please post a link to the project. Thanks

Hi. You have a typo here.

</hmtl>

Wow that’s embarrassing :man_facepalming:

Thank you!

1 Like