In the state I am in, the attendance policy states student may not be given credit for a class unless the student is in attendance for at least 90 percent of the days the class is offered. I have missed 10 days, so I don’t know if that counts for missing more than I can? I’m scared out of my mind that I won’t be able to obtain the credits or be able to move onto 10th grade. Can someone please help? 
Here is more of what it says: Students must attend 90% of the school days each year in order to receive credit for the year and be promoted. This means that your child must attend 160 days of school—he or she can only be absent 17 days* each school year
(excused and/or unexcused absences).
*High School courses are based on 9 absences per semester
I’m sure there’s a provision for someone with a long term medical issue— kids recovering from a concussion, or from surgery for example.
Beyond that, if you’ve simply missed 10 days in a course with a maximum of 9, you need to speak to your guidance counselor tomorrow morning.
But didn’t the semester start in January?
Yeah it started in January. All the way from September up to now, I have missed 10 days
I missed 5 days first semester and 5 days second semester
Wait, so if you miss at most 7 days throughout the rest of the spring semester, shouldn’t you be fine?
I’m going to take a guess and say that you’re from Texas.
Here is the law regarding the 90 percent of attendance:
Texas Education Code 25.092(a): A student may not be given credit for a class unless the student is in attendance for at least 90 percent of the days the class is offered. The board of trustees of each school district shall appoint one or more attendance committees to hear petitions for class credit by students who are in attendance fewer than the number of days required under Subsection (a). Classroom teachers shall comprise a majority of the membership of the committee. A committee may give class credit to a student because of extenuating circumstances. Each board of trustees shall establish guidelines to determine what constitutes extenuating circumstances and shall adopt policies establishing alternative ways for students to make up work or regain credit lost because of absences.
To sum it up, the law says that you must attend 90% of school days but there are ways to get around that. If an attendance committee views your situation as having ‘‘extenuating circumstances’’ then they could give you credit. If you haven’t been approached by your school regarding your attendance, I would not worry about it. They will contact you and explain things to you if it gets to the point that you are referred to the attendance committee.
Source for the law: http://law.onecle.com/texas/education/25.092.00.html
But it says less than 90%? I only missed 10 days does that still count as less than 90%
All I know is my counselor told me that if I miss ten days of school then I won’t get credit.
Idk what to think anymore 
The law says “at least 90%” (or “no more than 10%” of school days).
As long as you don’t miss too much school during the rest of this semester, you should be fine.
The elephant in the room is this: Why have you missed 10 days of school?
I think that most schools are more than willing to work with a student facing a medical crisis. If you’re recovering from surgery, they can arrange to have you tutored by someone within the school system. If you’re recovering from a concussion, there are guidelines in place that dictate how much work you’ll be allowed to handle.
In short, the first priority is the medical one. Otherwise, the absences will continue to pile up.
If your school year is 180 to 190 days, as most are, then don’t miss more than 18 or 19 days. If it said 17 days, then don’t miss more than those. Sorry for that! If it’s because of medical reasons then I hope you get better.
Honestly this is between you, your parents, your GC, and school district. No one on here can give you advice. This is a legal matter and policy is policy. Your parents and you will have to talk to your school and see. Set up a meeting. Be proactive. Making a post on here will not help at all. We can suggest classes to take, advice on schools to apply to, but when you do something specifically involving your school we simply cannot help. We do not know your school, their policies, handbooks, rules, etc. Best of luck to you, but this is a private matter that needs to be between you and the involved parties.