You achieved an advantage in the opening.
From this point, however, you pulled the roof down on your head. By trading pawns here, you effectively opened the lines of attack to your king.
The advance 14 c5 would have locked in your advantage and you would have been free to pursue your advantage.
https://www.chess.com/game/live/114559745387