Preheat your oven to 350°F (175°C).
Grease two 6-inch round cake pans with non-stick spray.
In a large bowl, whisk together flour, granulated sugar, baking powder, cinnamon, and salt until evenly combined.
In another bowl, whisk together eggs, vegetable oil, and vanilla extract until smooth.
Pour the wet mixture into the dry ingredients gradually while stirring gently.
Gently fold in the shredded carrots and nuts using a spatula.
Divide the batter evenly between your prepared cake pans.
Smooth out the tops gently with a spatula.
Bake in your preheated oven for 25-30 minutes or until a toothpick inserted comes out clean.
Allow them to cool in pans for about 10 minutes before transferring them to wire racks.