Preheat your oven to 350°F (175°C).
Grease and flour a 9-inch round cake pan.
In a bowl, whisk together flour, baking soda, and salt.
In a separate bowl, cream the butter, granulated sugar, and brown sugar until light and fluffy.
Add the eggs one at a time, mixing well after each addition.
Stir in the vanilla extract.
Gradually mix in the dry ingredients until just combined.
Fold in the chocolate chips and nuts if using.
Pour the batter into the prepared cake pan, smoothing the top.
Bake for 30-35 minutes or until a toothpick comes out clean.
Let cool in the pan for 10 minutes before transferring to a wire rack to cool completely.