Build a Recipe Page - Build a Recipe Page

Tell us what’s happening:

I have html set to lang=en yet the code shows error

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Chocolate Chip Cookies</title>
  </head>
  <body>
    <h1>Chocolate Chip Cookies</h1>
    <p>Welcome to the ultimate guide for making mini chocolate chip cookies! These bite-sized treats are perfect for satisfying your sweet tooth without overindulging. Follow this simple recipe to create delicious, crispy-on-the-outside, chewy-on-the-inside mini chocolate chip cookies that everyone will love.</p>
    <img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt="Chocolate cake.">
    <h2>Ingredients</h2>
    <ul>
      <li>1 cup all-purpose flour</li>
      <li>1/2 teaspoon baking soda</li>
      <li>1/4 cup unsalted butter, softened</li>
      <li>1/4 cup granulated sugar</li>
      <li>1/2 teaspoon vanila extract</li>
      <li>1/2 cup mini chocolate chips</li>
    </ul>
    <h2>Instructions</h2>
    <ol>
      <li>Prehead your oven to 350°F(175°C) and line a baking sheet with parchment paper</li>
      <li>In a bowl, whisk together the flour and baking soda</li>
      <li>Gradually add the dry ingredients to the wet mixture, then fold in the mini chocolate chips.</li>
      <li>Drop small spoonfuls of dough onto the baking sheet.</li>
      <li>Bake for 8-10 minutes, then let cool before enjoying</li>
    </ol>
  </body>
</html

Your browser information:

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

Challenge Information:

Build a Recipe Page - Build a Recipe Page

1 Like

Hi can you double check that all of your HTML elements are properly formed and every tag is closed? There could be a parsing error.