Preheat your oven to 350°F (175°C). Grease and flour a 9-inch round cake pan or line it with parchment paper.
In a medium bowl, whisk 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.
Beat in the eggs, one at a time, until well combined.
Mix in the coconut milk, lemon zest, and lemon juice until smooth.
Gradually add the dry ingredients to the wet ingredients, mixing until just combined. Be careful not to overmix.
Fold in the shredded coconut until evenly distributed throughout the batter.
Pour the batter into the prepared cake pan and smooth the top with a spatula.
Bake in the preheated oven for 30-35 minutes, or until a toothpick inserted into the center of the cake comes out clean.
Allow the cake to cool in the pan for about 10 minutes, then transfer it to a wire rack to cool completely.
While the cake is cooling, prepare the lemon glaze. In a small bowl, whisk together the powdered sugar and lemon juice until smooth.
Once the cake has cooled, drizzle the lemon glaze over the top of the cake. Sprinkle with shredded coconut, if desired, for garnish.
Allow the glaze to set before slicing and serving the cake.
This lemon and coconut cake is moist, flavorful, and perfect for any occasion. Enjoy!