Preheat the oven to 350°F (175°C).Prepare two 7-inch pans.
Whisk eggs, white sugar, and brown sugar until combined. Add vanilla and oil, mixing well.
Mix flour, cinnamon, baking powder, and baking soda in a separate bowl. Gradually add to wet ingredients. Fold in carrots and optional raisins or walnuts.
Divide batter into pans and bake for 35 minutes, or until a toothpick comes out clean.
For Frosting, beat cream cheese until smooth.Separately, beat butter with powdered sugar until light and fluffy. Gradually mix in the cream cheese. Assemble the cake as mentioned in the video.