01 - Preheat the oven to 350°F. Grease and flour an 8-inch square or round cake pan.
02 - Whisk together the flour, sugar, baking powder, and salt in a large bowl.
03 - In a separate bowl, whisk the milk, melted butter, eggs, and vanilla extract until smooth.
04 - Pour the wet mixture into the dry ingredients and gently mix until just combined, avoiding overmixing.
05 - Transfer the batter into the prepared pan, spreading it evenly. Optionally, sprinkle with coarse sugar or sprinkles.
06 - Bake for 30 to 35 minutes until a toothpick inserted in the center comes out clean.
07 - Allow the cake to cool in the pan for 10 minutes, then move to a wire rack until completely cooled before slicing and serving.