01 -
Heat up your oven to 350°F (175°C). Coat two 9-inch round pans with butter and flour, or line them with parchment paper.
02 -
Combine the flour, cinnamon, nutmeg, salt, baking soda, and baking powder in a bowl. Stir it all with a whisk, then put it aside.
03 -
Beat together the white sugar, brown sugar, and eggs in a large bowl. Get it smooth and foamy—this'll take a few minutes.
04 -
Pour the oil and vanilla into your egg mixture, stirring until fully mixed. Slowly add the dry ingredients as you keep stirring gently. Don't overdo the mixing.
05 -
Toss in the carrots, drained crushed pineapple (optional), nuts, and raisins. Mix it all—it'll feel thick, which is fine.
06 -
Spoon the mixture equally into your prepared pans, then smooth the tops with a spatula.
07 -
Bake for roughly 30-35 minutes. When a toothpick comes out clean from the center, they're done. Let them sit in the pans for 10 minutes before cooling on a rack.
08 -
In a bowl, beat cream cheese with butter till it's light and fluffy. Gradually add powdered sugar, one cup at a time. Mix well before stirring in the salt and vanilla.
09 -
When the cakes are cool, spread a frosting layer on one. Stack the second cake on top and cover the entire cake with the frosting. You can add walnuts or coconut for decoration if you'd like.