Prepare the Oven: Preheat oven to 350°F (175°C). Grease and flour a 9-inch round cake pan or line it with parchment paper.
Mix Dry Ingredients: In a bowl, whisk together flour, baking powder, baking soda, and salt.
Cream Butter and Sugar: In a separate bowl, beat the butter and sugar with a mixer until light and fluffy (about 2–3 minutes).
Add Eggs and Vanilla: Mix in the eggs one at a time, then add the vanilla extract.
Combine Wet and Dry: Gradually add the dry ingredients to the wet mixture, alternating with milk and yogurt, beginning and ending with the dry ingredients. Mix until just combined.
Bake the Cake: Pour the batter into the prepared pan. Bake for 25–30 minutes, or until a toothpick inserted in the center comes out clean.
Cool: Let the cake cool in the pan for 10 minutes, then transfer to a wire rack to cool completely.
Decorate: Spread frosting evenly on top and garnish with sprinkles. Slice and serve!