bad grades 9th and half of 10th. Is there still a chance for me?

Im in 10th grade right now, and just finished first semester. I failed math 2 quarters, failed accounting 2nd quarter with a C+ the 1st quarter. Other then that I got b’s in english, c+'s in earth science, an A first quarter in global and A+ the second quarter, C in spanish and a B first quarter. I’m a smart kid, and know I can do well in school but in 9th grade I was diagnosed with depression and anxiety while I was living with my mom. After a series of events, I moved out and am now living with my dad and I am much happier. It took me a while to recover and snap out of my mode of self sabatoge. As time went on I did better and better in school(yes I was getting worse grades lol…a lot worse) I realized recently that I was ruining myself because of past occurrences and am now driven towards doing my best(deleted all social media, separated myself from bad association and unhealthy friends, etc…). By the time I realised it was too ate to save my 2nd quarter grades but I got A’s on all the tests I did take from that point. I am very focused on doing much better for the rest of my high school career.
I just got my 11th grade schedule and the only AP’s I have are College credit accounting, and AP psychology.

Is it possible that now that I’m actually putting effort into school, there’s any chance of me getting into a good university, like university of michigan?
Ps- im black in case that helps-only saying that because I heard being a minority student sometimes makes a difference in universities or is that only old?
Thanks for reading this long post and thanks a lot for any answers

Make sure you get excellent grades from now on, and mention your circumstances on the college apps (there will almost always be a space for extenuating circumstances). Just make sure to emphasize that you have fixed the issue. It might bar you from top tier, but good universities will be fine with it as long as you bring your grades up all the way.

As far as getting into universities, UMich is selective enough that it would be difficult to say without knowing anything else about you. But purely from a GPA standpoint, if you challenge yourself with the hardest classes and get As (and thoroughly explain your circumstances), colleges will not take off too much (if anything) for your subpar beginning grades.

I completely agree with @Stanccepted. You have plenty of time left, but now is the time to start going upwards! :slight_smile: Best of luck to you. UMich is a tough school to get in to. Just work hard, especially junior and senior year.

Thanks for the answers! @southernbelle16‌ @Stanccepted‌