Prompt: Chocolate cake recipe

1 and 1/2 cups all-purpose flour
1 cup unsweetened cocoa powder
1 teaspoon baking soda
1/2 teaspoon baking powder
pinch salt
1/2 cup (1 stick) butter, at room temperature
2/3 cup sugar
1 large egg
1 teaspoon vanilla extract
1. Preheat oven to 350 degrees F (175 degrees C).Grease and flour an 8-inch cake pan.
2. In a medium bowl, whisk together flour, cocoa powder, baking soda, baking powder and salt.
3. In a small bowl, Using an electric mixer on medium speed, beat butter and sugar until light and fluffy. Add egg and continue beating until well combined. Add vanilla extract and beat until just blended.
4. With the mixer on low speed, add the flour mixture to the butter mixture, mixing just until incorporated.
5. Pour batter into prepared cake pan. Bake for 30 to 35 minutes, or until a toothpick or cake tester inserted into the center comes out clean. Cool cake in pan for 10 minutes; invert onto a wire rack to cool completely.