I am in webdev for more than 5+ approx. Probably, the first intension was to create my own website. I had some previous knowledge of HTML/CSS, i bought a book about PHP and started coding. I suppose, the first project wasn't coded really well but you keep learning all the time. Then i tried new things and so on. I got a job..next job and again another job. Nowadays for example i learn more about javascript frameworks, various technologies which you can use to build up web projects and so on.
There are many resources to learn from on the internet. I would personally recommend some book for beginners, video course like udemy one and with some base knowledge start doing something. Try to make a blog website with administration. You will use things you have previously learned, find answers to problems which you need to solve and much more. You can start with just simple design or try backend / frontend stuff. Many options here what to do.