Steps to become a self-taught programmer
When you’re learning from YouTube, don’t just watch the videos. Keep practicing the topics you learn.
Find a perfect IDE to code efficiently. I prefer VS code.
Keep notes so if you forget any topic you can recall from the notes. And writing makes you remember that thing.
If you started to learn one language, learn it completely. Don’t leave in between.
Don’t jump to advanced topics after learning some basics. Learn step by step first basics then move to advance level.
If you don’t understand anything, find every resource and information about it. Never leave any topic until you understand it (Especially the basics).
The debugging process can be frustrating sometimes. No matter how much time it takes to solve a bug, never give up. Keep trying.
Try to keep notes on the errors you solve on your own.
Keep practicing along with learning. Work on small projects.