You won’t get far without proper motivation. It’s best when you know why are you learning to code. What will you when you eventually learn?
Programming is a unique opportunity to be introduced into any company in the world being thousands of kilometers from its office.
No, you don’t need to hack into their servers. You will not spam. It’s just that the demand for developers is so high that the HR departments are looking for talent all around the world.
All you need is to meet the requirements and you will get the job.