01 -
Preheat oven to 350°F. Grease and flour a 9×13-inch baking pan or line with parchment paper for easier cake removal.
02 -
In a medium mixing bowl, whisk together flour, baking powder, baking soda, salt, cinnamon, and nutmeg.
03 -
In a large bowl, whisk granulated sugar, brown sugar, vegetable oil, eggs, and vanilla extract until smooth and well blended.
04 -
Gently fold in grated carrots and drained crushed pineapple. If desired, add chopped nuts and raisins at this stage.
05 -
Gradually fold dry ingredients into wet mixture using a spatula, mixing just until combined. Avoid overmixing to ensure a tender crumb.
06 -
Transfer batter to prepared pan, spreading evenly. Bake for 35 to 40 minutes or until a toothpick inserted in the center comes out clean. Cool completely in the pan on a wire rack.
07 -
In a large bowl, beat softened cream cheese and butter until creamy. Add vanilla extract and a pinch of salt. Gradually mix in powdered sugar, 1/2 cup at a time, until frosting is smooth and spreadable.
08 -
Once cake is fully cooled, evenly spread cream cheese frosting over the surface. Garnish with chopped nuts, toasted coconut, or grated carrot as preferred.