Start by preheating your oven to 350°F (175°C). Prepare a baking dish by greasing it or lining it with parchment paper for easy removal later.
In a large mixing bowl, combine the softened butter, brown sugar, and granulated sugar. Cream them together until the mixture is light and fluffy.
Add in the eggs one at a time, mixing well after each addition, then blend in the vanilla extract.
Gradually mix in the all-purpose flour until well incorporated. Finally, gently fold in the chocolate chips and nuts if you're using them.
Spread the batter evenly in the prepared baking dish and smooth out the top with a spatula.
Bake in the preheated oven for about 25 minutes or until the edges are golden and a toothpick inserted in the center comes out clean.
Once out of the oven, let the bars cool in the pan for at least 10 minutes before transferring to a wire rack to cool completely. Cut into squares and enjoy!
Notes
Feel free to customize these bars by adding your favorite mix-ins like dried fruit or different types of chocolate. Enjoy your baking!