01 -
Preheat oven to 350°F (175°C) and grease and flour a 9 x 13-inch rectangular baking pan.
02 -
In a medium bowl, whisk together the flour, baking powder, baking soda, ground cinnamon, and fine salt until thoroughly combined.
03 -
In a large mixing bowl, beat together granulated sugar, eggs, vegetable oil, and vanilla extract until the mixture is smooth and fully homogenized.
04 -
Gradually add the dry ingredients to the wet mixture, stirring gently until just blended without overmixing.
05 -
Fold in grated carrots, well-drained crushed pineapple, and, if desired, chopped walnuts until evenly distributed in the batter.
06 -
Pour the batter into the prepared pan and bake for 35 to 40 minutes, or until a toothpick inserted into the center comes out clean. Allow to cool completely in the pan.
07 -
In a bowl, beat softened cream cheese with unsalted butter until creamy. Add powdered sugar and vanilla extract, and continue beating until smooth and fluffy.
08 -
Evenly spread cream cheese frosting over the cooled cake, then garnish with pineapple chunks and shredded carrots as desired.