You will be able to deduct the computer/laptop if it was required for class. In your case online courses, unfortunately the internet services will not be able to be deducted unless it is paid directly to the school and not an internet provider.
I hope this helps with your issue.