What I realised in my journey to pick up web development was, the long way is the short way. YouTube, blogs, forums etc. look like they might make things easier. They don't. The only thing that I found has made a difference is to fully surrender to the process.
I bought a webcamp course on Udemy. And I sat through each and every class. And I did each and every exercise. I took notes. I aimed wherever possible to try things first before seeing a solution, even if it was during class and not officially an "exercise". The course was a bit old, so some things didn't work. When something didn't work, I sifted through the Q&A to look for a solution, because that in itself is a skill you have to use as a developer. I'd wake up early in the morning to cram a couple of hours before the day began. Some weeks, I was able to devote more time. Some weeks, I took a break. All told, it had taken me about six months.
By the end of which, I still didn't have enough knowledge to build a full webapp. So I bought an intermediary Udemy course covering the MERN stack. I was just as diligent with it. And by the middle of it, I could confidently build a demo version of the app I wanted to build. It looked ugly.
My intent was to improve my HTML and CSS skills, so you can guess what I did next. Yes, bought another Udemy course. I ended up not doing it, because it was better value-for-money to get a professional developer to rebuild it, but now I had my knowledge, my demo and I could manage this effort.
My point is, it took several months of humbling work just to get to the point where I say - gee, if I want to improve I need to do all this other humbling work. I deliberately say humbling and not hard because, frankly, the coding wasn't hard. The hard part was decisively letting go of the ego and accepting the no-shortcuts, heads-down, do-the-work way was the only way through.