Preheat your oven to 350°F or 175°c. Grease the inside of each mason jar with cooking spray or butter and set aside.
In a medium mixing bowl, sift together the flour, baking powder, and salt. Set aside. In a large mixing bowl, cream together the softened butter and granulated sugar until light and fluffy using a hand mixer or stand mixer.
Add the eggs one at a time, beating well after each addition. Then, mix in the vanilla extract.
Gradually add the dry ingredients to the wet ingredients, alternating with the milk, starting and ending with the dry ingredients. Mix until just combined, being careful not to over-mix.
Run warm water over the outside of the jars to gently heat them up before adding batter and putting into a hot oven so there isn't a drastic change in temp.
Divide the batter evenly among the prepared mason jars, filling each jar about halfway full.
Place the filled mason jars on a baking sheet and transfer them to the preheated oven. Bake for 25-30 minutes, or until a toothpick inserted into the center of a cake comes out clean.
Remove the jars from the oven and allow them to cool completely on a wire rack. Once cooled, spread a layer of frosting on top of each cake in the jar. Add your favorite toppings to decorate.
Notes
Made with Cake Mix
You can certainly use cake mix batter instead. You would skip the preparations for the batter above but follow the rest of the instructions to make this way.