The easiest way to make money as a developer is to teach other people how to code. You can sell courses on your own platform or sell them on places like Udemy or Pluralsight. The other thing that you can do is to sell your services online. This is basically a contract work where you get paid per project that you finish. Creating your own app is probably the reason why most people start learning to code. You can start alone and later may even employ other people to work with you. Creating apps that help certain types of people can make a lot of money.