In a bowl, combine the flour, baking powder, salt, and cocoa; stir well to mix.
In the bowl of a standing electric mixer fitted with the paddle attachment, beat together the butter and sugar on medium speed until well mixed, about a minute.
Beat in the egg until it is well incorporated and the mixture is smooth. Scrape the bowl and beater well and bea