I started learning how to code on YouTube. I remember the first channel that I started with and gradually I moved to more complicated ones. It is really a great way to start.
I have reasons to believe that most people are making use of YouTube tutorials for most of the things they want to learn because who wouldn't especially when every content on YouTube is free?