Preheat your oven to 350°F (175°C). Grease your heart-shaped pans with butter or non-stick spray, and line the bottoms with parchment paper for easy removal.
In a large bowl, sift the flour, cocoa powder, baking powder, baking soda, and salt together. Sifting helps blend the dry ingredients and ensures a smooth batter.
In a separate bowl, cream the butter and sugar together using an electric mixer or whisk on medium speed for 3-5 minutes until light and fluffy.
Add the eggs individually, mixing well after each one. Then, stir in the vanilla extract until combined.
In another bowl, whisk together the milk and sour cream. Gradually add this mixture to the butter-sugar-egg blend, alternating with the dry ingredients.
Start and finish with the dry ingredients, mixing on low speed until just combined.
Stir in the hot brewed coffee (or water) until fully incorporated. The warm liquid intensifies the chocolate flavor and helps thin the batter.
Pour the batter evenly into your prepared pans. Bake for roughly 30 minutes. Start checking at the 27-minute mark to ensure the cakes don't overbake.
Once baked, allow the cakes to cool completely before frosting.
For the frosting, beat the butter and powdered sugar together until smooth. Add cocoa powder, vanilla, and a pinch of salt.
Gradually mix in the heavy cream until you reach a smooth and spreadable consistency.
Whip for 2-3 minutes until soft and airy.
After your cakes are fully cooled, create the heart shape and start assembling (I’ve already covered that in detail above).
Top your heart cake with fresh strawberries. You can also pipe some extra frosting around the edges to add a decorative touch. Enjoy!