Easiest ways to learn how to code
One thing should be made clear; before you even start to read this article and let alone start to learn coding. Learning to code from scratch is not easy at all, it is really hard work, not only because of the new language, but also the new way of thinking, which will change the way you see the world. However, there are some simpler and harder ways to do so; otherwise the title wouldn't be what it is. So let's talk a little more about that and focus on the best and easiest ways to learn coding.
The start is the hardest step
The beginning is the hardest step, because you are stepping into a totally unknown territory, even if you know something about programming, actually doing it is quite different. Thankfully there are online places, apps and programs that can help you make small steps to the point where you can decide yourself what direction you want to go and find your own courses and materials to learn from. Codecademy is besides Coursera and Codewars, one of the best places to start your journey, so let's do it that way.
Once you get more into the subject matter and find out what exactly you are dealing with and what the world looks like, you can start getting a little more specific. Different blogs and YouTube channels will show you in what ways Java is different from Python and C++ and why you should also learn HTML. Once you go through all of them, you can get to edX or even a courseware like the MIT OpenCourseware. Those will give you a much deeper pool of knowledge and show you some rules that you might have missed on earlier in the process. Make sure to take your time and always let things sink in, because otherwise you will get lost and need to start from the beginning.