
Créé avec l’IA
Preheat your oven to 350°F (175°C) and grease a 9-inch round cake pan.
In a large mixing bowl, whisk together the gluten-free all-purpose flour, baking powder, baking soda, ground cinnamon, ground nutmeg, and salt.
In a separate bowl, beat together the brown sugar, white sugar, and vegetable oil until well combined.
Add the eggs one at a time to the sugar and oil mixture, beating well after each addition. Stir in the vanilla extract.
Gradually mix the dry ingredients into the wet ingredients until just combined. Avoid overmixing.
Fold in the grated carrots and chopped walnuts (if using) until evenly distributed throughout the batter.
Pour the batter into the prepared cake pan and smooth the top with a spatula.
Bake in the preheated oven for 45-50 minutes, or until a toothpick inserted into the center of the cake comes out clean.
Allow the cake to cool in the pan for 10 minutes, then transfer to a wire rack to cool completely before serving.