What did I do wrong???😂😂

Tried to make cocoa chocolate chip cookies. Followed a recipe from Pinterest and my cookies came out cake ish. What did I do wrong???

Recipe: 1/4 cup of cocoa powder 2 cups of flour 1 teaspoon of salt 3/4 cup of granulated sugar 3/4 cup of brown sugar 2 eggs 1tsp vanilla extract 1 cup of butter 2 cups of chocolate chips.

Mixed dry ingredients and then wet ingredients and combine together. Baked them for 8 mins at 375.