Preheat oven to 350 degrees F.
Line a 9x13-inch cake pan or baking dish with parchment paper and spray lightly with nonstick cooking spray, then set aside.
In a medium bowl, whisk together flour, baking powder, and salt. It is important to fluff the flour before measuring to avoid packing it densely in the measuring cup. Set the dry ingredient bowl aside.
In the bowl of a stand mixer (or in a large bowl if mixing by hand), place butter and sugar and beat on medium speed until light and fluffy.
Scrape down the sides of the bowl, then add egg, vanilla and almond extracts, and mix on medium speed to incorporate, scraping down sides one more time.
With the mixer on low, add the dry ingredients to large mixing bowl slowly. Mix until the dough comes together. Do not overmix. Dough will hold shape when pressed together.
Put the dough into the prepared pan, pressing down to distribute the dough evenly.
Bake bars for 20-25 minutes or until edges begin to brown. Remove from oven and set aside to cool.