First, preheat your oven to 350 degrees and prepare a cupcake pan with paper lines.
Combine flour, salt, and baking powder and blend well with a whisk.
Beat in butter and white sugar using an electric mixer until mixture is light and fluffy.
Add eggs on at a time, beating after each addition, and stir in vanilla.
Gradually add half of the dry ingredients into the creamed mixture, alternately with milk. Stir all ingredients until just blended.
Using a medium ice cream scoop, scoop the batter into the lined cupcake pan.
Bake at 350 degrees for 20–25 minutes, or until an inserted toothpick comes out clean.
Allow to cool in the cupcake pan for 10 minutes, then transfer to a wire rack to cool completely before frosting.