It depends on how you learn.  You can expect to succeed in an online course if you put in as much study time as you do in any of your successful on-campus courses; maintain good time management habits, and be familiar with technology. However, research shows that students who take online courses have to be very disciplined—making sure that they are doing the required work during the week.