You probably shouldn't put "took free online classes" as evidence of expertise on a resume. That's not sufficient evidence of actual proficiency in the language.
It's also the reason why many advocate having a populated GitHub profile in lieu of professional experience/learning.