I'm trying my best since this is for a college application essay:
What is the difference between "on-track" and "on track" and which one should I use?
Here is the sentence I'm using:
Taking responsibility for my actions and keeping myself on-track was one of the most important lessons I learned last year.
Grammarly keeps telling me I'm wrong and I want to know why.