how to bake a cake

Baking a cake is a fun and rewarding activity that allows you to create a delicious treat to share with family and friends. With the right ingredients and techniques, you can easily whip up a homemade cake that will impress everyone. Here is a step-by-step guide on how to bake a classic vanilla cake:

Ingredients:
– 2 1/2 cups all-purpose flour
– 1 tablespoon baking powder
– 1/2 teaspoon salt
– 1 cup unsalted butter, softened
– 2 cups granulated sugar
– 4 large eggs
– 1 tablespoon vanilla extract
– 1 cup whole milk

Instructions:
1. Preheat your oven to 350°F (180°C) and grease and flour two 9-inch round cake pans.
2. In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
3. In a large mixing bowl, cream together the butter and sugar until light and fluffy.
4. Add the eggs one at a time, mixing well after each addition. Stir in the vanilla extract.
5. Gradually add the dry ingredients to the wet ingredients, alternating with the milk, beginning and ending with the dry ingredients. Mix until just combined.
6. Divide the batter evenly between the prepared cake pans and smooth the tops with a spatula.
7. Bake in the preheated oven for 25-30 minutes, or until a toothpick inserted into the center of the cakes comes out clean