Cookies are baked when the edges look golden brown and crispy but the center is still slightly gooey looking. The residual heat will continue the bake once they are out of the oven and you'll avoid overbaking.