Everything is possible if you believe and take action!
There's a saying that goes something like this: You are what you think
If someone else did it, you can do it too!
As for programming, what you need to know as a beginner is that, this profession is hard and you have to work hard to stay motivated through the tough times. In order to understand a particular concept, don't be afraid to repeat what you already know or you think you know, because it will help you to understand the concept better and better every time you learn the same thing.
If you are interested in Web Development, I'd suggest starting with HTML5, CSS3 and JavaScript (also known as Front-End) before moving on to the server side (also known as Back-End) and Databases.
As mentioned in other posts, there are a ton of free resources, ranging from youtube video tutorials, conference talks, books, podcasts, blog posts/articles etc. which you can learn from.
Remember that the only hard part of finding the resources is figuring out the quality of the resources you are learning from.
Some of the content is not free, but it's worth investing money in your new career if the quality of the content is high.
Some blogs and websites I recommend:
(I'll add more blogs later if they come to mind)
Paid Content Websites
The most important thing that you need to know is, before moving on to another language, make sure to build a few projects, spend a few months working with it without using any of the advanced stuff like frameworks or libraries that help you build apps faster. I am saying this, because you'll need to learn the basics of the language(s) first, before moving on the modern tools, frameworks and libraries.
Follow along with the course practical projects and you'll have a few projects to refer back when needed. Also, they could serve as your practical portfolio that you at least learned something. It is better than nothing!
The web development communities will help you if you need help, don't be afraid to ask! I am part of a few Slack communities like:
Before I forget, The Awesome List of Resources will help you find stuff where to learn from.
I am sorry if I overwhelmed you with resources but you have a choice what you will learn and where you will learn from.
Good luck with your new career as a web developer (if you choose that path) and have fun!
Ruffles