I am not doing well in high school any more and I’m very worried

Hi, I am a 11th grader in one of the top charter schools in my state. Lately I have not been doing well in school, and I have been working my ass off and I am just not doing well. I used to do fine in 9th and 10th grade, it was going pretty well actually but the moment I stepped into my junior year everything went down hill. I used to be a B+ student to A I almost never got Cs in my class and it was really well now I’ve been taking harder classes and I have gotten A F! And a c and most bs and a few As. I have been taking really hard classes and I am staying after 3 out of 5 days a week for these, canceled every single extra after school activities so I can stay after with my teachers who are forcing me to stay after. I have been taking AP computer science with the hardest teacher you will ever meet. I try so hard, sooo hard in that class and I ending with an F. I swear I am not just sitting around doing nothing, I am actually doing so much work in that class and all I do is get yelled at and told how I just shouldn’t have taken this class. I was forced to quit my job, my parents took away my video games( something’s that were not the reason for my bad grades as shown) and still with no “distractions” and no extra activities and a lot of staying after with the teacher and doing work at home guess what. I still end with an F first term and projected for it second term. I want to take this class, I really enjoy the class, not the teacher and I am actually learning so much! But I have an F. I just can’t believe it. I have a C+ to b- in honors calculus, I have been trying to do well in the class but it just is not going well. I have stepped it up and I know next term will be better for this class. I dropped out of honors physics to cp physics because it was causing even more stress and I had to drop out. I also take honors history which is a ton of work but I am doing well, A. and I take cp Spanish which I have an A. I take cp Ela which is a ton of work to my busy schedule. I do all of the work but I still don’t do well in the class. B-. I have been trying my absolute hardest I have done, but I just continue to get bad grades while everyone around me brags about them doing so well in school. Like seriously everyone seems to have an A in all their classes. They are not taking the classes I am but they are taking other classes and a few AP courses while I’m taking 1, the one I’m getting an F in. In that class, my code is good for the projects, it’s the quizzes and test that are so hard. I study and study at home, but keep in mind you have 12 min to answer 15 long Questions. I am not the only one doing bad but I am also one of the few if not the only one getting me F. I just want to know what are my chances of getting into a decent college and what can I do in college so I can move/ transfer to a new and better college in the future