Bad grades freshman year of high school/ A few questions about college

I was thinking about taking some science classes online because it’s one of the subjects that I typically excel in. If I did that, I could get all of my science credits, which would allow me to take more electives.