Build a Recipe Page - Build a Recipe Page

Tell us what’s happening:

I keep being told I should have an html element with lang set to en. I already have that. See code above. What am I doing wrong?

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <title>German Sugar Cookies</title>
  <meta charset=utf-8>
</head>
<body>
  <h1>German Sugar Cookies</h1>
  <p>It's sugar cookies uwu</p>
  <h2>Ingredients</h2>
  <ul>
    <li>3 cups sifted flour</li>
    <li>1/2 tsp baking powder</li>
    <li>1/2 baking soda</li>
    <li>1/4 tsp salt</li>
    <li>1 cup butter</li>
    <li>1 cup sugar</li>
    <li>2 eggs</li>
    <li>1 tsp vanilla</li>
  </ul>
  <h2>Instructions</h2>
  <ol>
    <li>Sift or mix together flour, baking powder, baking soda, and salt; set aside.</li>
    <li>Cream together butter and sugar until light and fluffy. Add eggs one at a time, beating well after each. Blend in vanilla. Gradually stir dry ingredients into creamed mixture, blend well.</li>
    <li>Divide dough in half. Roll out each half on lightly floured surface to 1/4 inch thick. Cut with cutters. Place about 2 inches apart on greased baking sheets.</li>
    <li>Bake at 350 for 10-23 minutes or until golden brown (watch carefully). Cool on racks.</li>
  </ol>
  <img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt="whisk on top of flour and 3 eggs on a weathered table">
</body>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36

Challenge Information:

Build a Recipe Page - Build a Recipe Page

what are the parts that make an html element?

like here, you have <li>, the content, and </li>

do you have the equivalent for the html element?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.