Preheat the Oven: Begin by preheating your oven to 350°F (175°C). Grease a baking dish (approximately 9x9 inches) or line it with parchment paper for easy removal later.
Cream the Butter and Sugar: In a mixing bowl, cream together the softened butter and brown sugar until it's light and fluffy.
Add Eggs and Vanilla: Beat in the eggs one at a time, ensuring they are well combined, followed by the vanilla extract.
Mix the Dry Ingredients: In another bowl, mix together the flour, baking powder, and salt. Gradually add this mixture to the butter mixture, stirring until just combined.
Fold in the Coconut: Gently fold in the shredded coconut, ensuring it is evenly distributed throughout the batter.
Spread the Batter: Pour the batter into the prepared baking dish and spread it evenly.
Bake: Place the dish in the oven and bake for about 25-30 minutes, or until the edges are golden brown and a toothpick inserted into the center comes out clean.
Cool and Cut: Once baked, take it out of the oven and let it cool in the dish before cutting into squares.