01 - Preheat oven to 350°F. Grease and line an 8-inch square baking pan with parchment paper.
02 - In a medium bowl, whisk together flour, cocoa powder, baking powder, baking soda, and salt. Set aside.
03 - In a large bowl, whisk granulated sugar and eggs until light and slightly thickened, approximately 2 minutes.
04 - Add vegetable oil and vanilla extract to the wet mixture, stirring until fully combined.
05 - Fold in the grated or puréed beetroot and melted dark chocolate until evenly distributed.
06 - Gently fold the dry ingredients into the wet mixture until just combined, taking care not to overmix.
07 - Pour the batter into the prepared pan and smooth the surface evenly.
08 - Bake for 30 to 35 minutes, or until a toothpick inserted in the center emerges with a few moist crumbs.
09 - Allow the cake to cool completely in the pan before slicing into 12 squares.