A flat chocolate chip cookie is a cookie dough that spreads too fast. It can be because your oven is too warm, you didn't chill the dough, which limits the spread, or you over-greased the parchment paper. An excellent baking tool to make the cookies grip the pan is a silicone mat. This prevents the cookies from over-spreading on the baking sheet.