Summer Class (Math)

So, I just received my grades for this spring. And I failed one class which was math college algebra. I made a 62% which is a “D” but I needed a “C” in order to transfer to a university. I’m so close to transferring I just need this and another class but my question is I’ve never attended summer classes. Only fall and spring. Do you think it’s a great idea to take college algebra online for summer? Is it really that hard from what many people I’ve have heard.