Preheat the oven to 350°F (175°C)
Grease and flour a cake pan or line it with parchment paper
Gather flour, sugar, baking powder, salt, butter, eggs, milk, and vanilla extract
Whisk together the flour, baking powder, and salt in a bowl
Cream the butter and sugar together until light and fluffy
Beat in the eggs one at a time
Mix in the vanilla extract
Add the dry ingredients and milk alternately, mixing until just combined
Pour the batter into the prepared pan
Smooth the top with a spatula
Bake until a toothpick inserted in the center comes out clean
Remove the cake from the oven and let it cool in the pan
Transfer the cake to a wire rack to cool completely
Frost or decorate as desired
