What to know before you start programming
I suggest sololearn.com, they consist of great courses where you can learn the most
If you are getting bored while learning, stop and try creating something with it, if you encouter a error
just go back and look at the examples and keep trying until you get it.
Languages I Suggest
I plan on doing PHP, which looks straightforward but PHP is server-side scripting