TL;DR: As far as I suggest, you should learn online marketing by practicing, not by attending classes.
There are two ways of learning programming:
- Studying for 4 years in a College and then practicing somewhere.
- Learning by doing. You get a problem, you learn how to solve it, and you increase, step-by-step, the difficulty of programming.
If you’re 18, I think it’s a good idea to learn programming by going to a college. If you’re 30, and want to work full-time, though, I think the former option is the better one. You’ll not be as great a programmer in the beginning, but you’ll learn on the fly.