Preheat your oven to 170 degrees Celsius (340 degrees Fahrenheit). Grease and flour an 8-inch square baking pan.
In a large bowl, combine vegetable oil and sugar. Mix well until fully incorporated.
Add vanilla extract and mix in the egg. Then pour in the milk and mix again until smooth.
Sift in the flour, cocoa powder, baking powder, and salt into the wet ingredients. Mix gently until the dry ingredients are fully incorporated into the wet mixture, ensuring there are no lumps.
Pour the batter into the prepared baking pan, spreading it evenly.
Bake in the preheated oven for about 30 minutes or until a toothpick inserted into the center comes out clean.
Once baked, remove from the oven and let it cool in the pan for a few minutes.
Serve the chocolate cake warm with custard or ice cream for a delightful dessert. Enjoy!
Notes
Ensure all ingredients are at room temperature for best results.