-
Preheat your oven to 350 degrees, and grease an 8-inch square or round cake pan with baking spray. Optionally, line the pan with parchment paper for easy removal.
-
In a medium bowl, stir together the flour, cocoa powder, salt, baking powder, and baking soda, and set the mixture aside. In a large bowl, whisk together the sugar and oil until well combined. Then whisk in the egg and vanilla extract. In your measuring cup, stir together the buttermilk and coffee.
-
Add about 1/3 of the dry mixture into your sugar mixture, stirring until just combined. Then add about half of your buttermilk mixture, again stirring until just combined. Continue alternating until all of the flour mixture and all of the buttermilk mixture have been added. You should have a smooth batter. Pour your batter into your prepared baking pan, and bake in your preheated oven for 25-30 minutes, or until a cake tester comes out clean. Cool the cake completely before frosting.