Tell us what’s happening:
Hi guys. I can’t find out what’s wrong with my title element. It says “Your title element should have your recipe title.”
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"
<title>Vanilla Cake</title>
</head>
<body>
<h1>Classic Vanilla Cake</h1>
<p>Soft, fluffy, and full of rich vanilla flavor, this classic vanilla cake is perfect for any occasion. Easy to make and even easier to love — let’s get baking!</p>
<img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt="beautifully styled kitchen scene featuring baking ingredients and tools">
<h2>Ingredients</h2>
<ul>
<li>2 ½ cups all-purpose flour</li>
<li>2 ½ tsp baking powder</li>
<li>½ tsp salt</li>
<li>1 cup unsalted butter, softened</li>
<li>1 ¾ cups granulated sugar</li>
<li>4 large eggs</li>
<li>1 tbsp vanilla extract</li>
<li>1 cup whole milk</li>
</ul>
<h2>Instructions</h2>
<ol>
<li>Preheat the oven to 350°F (175°C). Grease and flour two 8-inch round cake pans.</li>
<li>Mix dry ingredients: In a bowl, whisk together the flour, baking powder, and salt. Set aside.</li>
<li>Cream butter and sugar: In a large bowl, beat the softened butter and sugar together until light and fluffy (about 3–4 minutes).</li>
<li>Add eggs and vanilla: Beat in the eggs one at a time, then mix in the vanilla extract.</li>
<li>Combine wet and dry: Add the dry ingredients to the wet ingredients in three parts, alternating with the milk. Start and end with the dry ingredients. Mix just until combined (don’t overmix).</li>
<li>Bake: Divide the batter evenly between the prepared pans. Bake for 25–30 minutes, or until a toothpick inserted in the center comes out clean.</li>
<li>Cool: Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely.</li>
<li>Frost and enjoy: Frost with your favorite buttercream or whipped cream frosting, or enjoy it plain!</li>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Challenge Information:
Build a Recipe Page - Build a Recipe Page