01 -
Set the oven to 350°F. Grease two heart-shaped baking pans and lightly dust them with flour to prevent sticking.
02 -
In a medium bowl, whisk together the all-purpose flour, baking powder, and cocoa powder until evenly incorporated.
03 -
In a large mixing bowl, beat the softened butter with granulated sugar until the mixture is light and fluffy.
04 -
Incorporate eggs one at a time into the creamed mixture, mixing thoroughly after each addition, then stir in the vanilla extract.
05 -
Alternately add the dry ingredients and milk to the butter mixture, beginning and ending with the dry ingredients, mixing gently just until combined.
06 -
Divide the batter evenly between the prepared pans and bake for 25 to 30 minutes, or until a toothpick inserted into the center comes out clean. Allow cakes to cool before frosting.