What does the following recipe instruction mean?

Cook over medium heat stirring constantly. Cook until candy turns away from the side of pan. Add nuts and vanilla. Spread in buttered dish. I am trying to make candy. I've heard of soft ball and hard ball and even own a cany thermometer. I'm a novice cook, but I try.