01 - Preheat the oven to 350°F. Grease and flour a 9x5-inch loaf pan or line with parchment paper.
02 - Place grated zucchini in a clean kitchen towel and squeeze out excess moisture. Set aside.
03 - In a medium bowl, whisk together flour, baking soda, baking powder, salt, and cinnamon.
04 - In a large bowl, beat eggs with granulated and brown sugars until fully combined. Whisk in vegetable oil and vanilla extract.
05 - Stir dry ingredients into wet mixture until just blended; avoid overmixing.
06 - Fold in grated zucchini, chocolate chips, and nuts if using, ensuring even distribution.
07 - Pour batter into prepared loaf pan and smooth the surface. Bake for 50 to 60 minutes, until toothpick inserted in center comes out clean or with few moist crumbs.
08 - Let the bread cool in the pan for 10 minutes, then transfer to a wire rack to cool completely before cutting.