Nobody will fault you for learning programming through an online course. They will, however, mark you down for listing that on your resume as your sole programming experience.
People within companies are all different, so we can't say. Some hiring managers might, others actually prefer no degree, others might focus more "shipped". It depends
The courses from Berkeley, Harvard, Stanford, MIT are quite good. There is no paying, just knowledge.
Taking the course is not a negative signal.
Putting the course on your resume, as if that conveys useful information, is.
Are you a hiring manager? A you are hiring manager of the whole IT industry?
Even in this thread there are many that have successfully landed great jobs with certificates on their resume.