Cake Decorating Tools & Supplies

How to make the edges crusty?

Hello peeps, as I am new to cooking and cakes, I started off with a simple recipe. I have prepared a chocolate chip cake recently, but I wanted it to be crusty on the top. Unfortunately, it was too soft both from inside as well as from the top making it difficult to eat which I was not expecting. It was really disappointing. Can you please help where did I fall short of?