Combine flour, cocoa powder, baking powder, and salt in a large bowl.
Beat butter and sugar together in the mixing bowl.
Add milk, eggs, and vanilla and mix well.
Add the flour mixture to the wet ingredients alternating with milk.
Mix until all of the ingredients are combined and the batter is smooth.