You can learn everything for free on Youtube.
You can learn and teach and earn on Udemy.
You can learn basics of coding in W3Schools.
You can learn basic and advanced coding skills here.