Tell us what’s happening:
I think my code is correct
Tester says my html element should have the language to english but does not work
Head element is in the HTML element but the tester does not see it
Body element is in the html element but the tester does not see it
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<title>Simple Vanilla Cake</title>
<meta charset="UTF-8">
</head>
<body>
<h1>Simple Vanilla Cake</h1>
<p>This simple vanilla cake recipe from Allrecipes is a classic one-bowl method that produces a light, fluffy result with minimal effort.</p>
<h2>Ingredients</h2>
<ul>
<li>1 ½ cups white sugar</li>
<li>2 ⅓ cups all-purpose flour</li>
<li>2 ¼ teaspoons baking powder</li>
<li>¾ cup vegetable oil (or softened butter for a richer flavor)</li>
<li>1 tablespoon vanilla extract</li>
<li>3 large eggs</li>
<li>3 large eggs</li>
<li>A pinch of salt</li>
</ul>
<h2>Instructions</h2>
<ol>
<li>Preheat and Prep: Heat your oven to 175°C (350°F). Grease a 9-inch round cake tin and line the bottom with parchment paper for an easy release.</li>
<li>Mix Dry Ingredients: In a large bowl, whisk together the flour, sugar, baking powder, and salt.</li>
<li>Combine Wet Ingredients: Add the eggs, milk, oil (or butter), and vanilla directly into the dry mixture.</li>
<li>Beat until Smooth: Use an electric mixer on low speed or a hand whisk to mix until the batter is smooth and no large lumps remain. Avoid over-mixing to keep the cake tender.</li>
<li>Bake: Pour the batter into the prepared pan. Bake for 45 to 50 minutes (or 30 minutes if using a shallow pan) until a toothpick inserted into the center comes out clean.</li>
<li>Cool: Let the cake sit in the pan for 5–10 minutes before inverting it onto a wire rack to cool completely</li>
</ol>
<img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt="Baking Ingredients">
</body>
</hmtl>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 OPR/126.0.0.0 (Edition std-2)
Challenge Information:
Build a Recipe Page - Build a Recipe Page
