No, transportation is not a qualified education expense even if you were required go to the campus of your online class. See IRS Publication 970, Chapter 6, Page 42 & 43, Expenses That Don't Qualify.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"