Prompt: Chocolate cake recipe


1 3/4 cups unsweetened cocoa powder

1 1/2 cups all-purpose flour

1 teaspoon baking soda

1 teaspoon baking powder

1/2 teaspoon salt

2/3 cup (157 grams) unsalted butter, at room temperature

2 cups granulated sugar

2 large eggs

1 cup whole milk

2 teaspoons vanilla extract


1. Preheat oven to 375°F (190°C). Grease and flour a 9-inch cake pan.

2. Sift together the cocoa, flour, baking soda, baking powder, and salt.

3. In the bowl of a stand mixer fitted with the paddle attachment, cream the butter on medium speed for 2 minutes until light and fluffy. Add the sugar and continue to beat for 2 minutes until light and fluffy. Add the eggs, one at a time, beating after each addition for 2 minutes. Add the flour mixture and milk and mix until well blended. Add the vanilla extract.

4. Pour the batter into the prepared cake pan and bake for 30 to 35 minutes, or until a toothpick or cake tester inserted into the center comes out clean. Allow the cake to cool in the pan for 5 minutes before transferring to a wire rack to cool completely.