-
Preheat the oven to 350 degrees. Spray a 9-inch square baking pan with cooking spray and set aside.
-
Whisk together the flour, cinnamon, baking soda, baking powder, and salt in a medium bowl and set aside.
-
Combine the sugar, eggs, oil, and vanilla in a large bowl. Beat with an electric mixer until smooth.
-
With mixer on low, gradually mix in the dry ingredients until just combined. Use a rubber spatula to fold in the carrots and raisins or nuts (if using).
-
Scrape into the prepared pan and smooth the top. Set aside while you make the topping.