Online courses may be helpful, but I recommend applying for a junior development position and seeking immediate employment. Professional experience will impart far more technical knowledge than coursework.
I suggest taking a few courses first to see if you like development.
I also agree with you at the same time. Just playing devil's advocate!