Begin by preheating your oven to 175°C. Next, take a 9x13-inch baking pan. Grease it and sprinkle a little bit of flour.
Mix the flour, sugar, baking soda, salt, baking powder, and cocoa powder in a large mixing dish.
Take another bowl, mix the eggs, vegetable oil, milk, and vanilla extract until all the ingredients are well incorporated.
Stirring occasionally, add the wet components in little amounts to the dry ingredients. Watch out not to combine too much.
Spread the batter evenly after pouring it into the prepared baking pan.
Bake for 20 to 25 minutes in the preheated oven, or until a toothpick inserted in the middle comes out clean.
Make the syrup and bake the cake simultaneously. The water and sugar should be combined in a small pot. Over medium heat, bring the two ingredients to a boil while stirring periodically. It should simmer for five minutes after lowering the heat. Add vanilla extract after turning the heat off.
Remove the cake from the oven when it has finished baking and allow it to cool in the pan for approximately 5 minutes.
Over the warm cake, drizzle the syrup evenly. Allow the cake to absorb the syrup for 10 to 15 minutes.
Spread the coconut shreds evenly in a dish. Place the cake on top of the coconut after carefully removing it from the pan. On the cake's top, gently press the coconut.
In a small saucepan, warm the heavy cream until it begins to boil in order to make the chocolate glaze. Make sure to do it over a medium flame. Add the butter and chopped chocolate after taking the pan off the heat. Stir the ingredients until it is smooth, and the chocolate has melted.
With a spatula, evenly add the chocolate glaze over the cake with the coconut topping.
Before cutting the cake into squares, let the icing set and the cake cool fully.
Serve the prepared dish and enjoy!