If you want to learn how to code, you need to be coding/making your own projects. That’s how you learn, and that’s how you make what you’ve learned stick to your brain.
It doesn’t matter if the projects are small, silly, simple – but you need to be practicing and applying what you learned into your own very code. That means, writing your own code from scratch. Not copy/pasting, not memorized steps from a video tutorial.
Sorry, but watching endless hours of video tutorials, reading books, listening to podcasts won’t give you the right programmer mindset/computational thinking required to write your own program. These are all “passive” activities, where you’re just learning “facts and syntax”. But what you really want to be a successful programmer is the practical application of those “facts and syntax” to solve a given task/problem you may be presented. – and that can only come from practice, from actual coding, and making your own projects.
Don’t be like students that after endless video courses, or going through numerous exercise tests given at the end of a video chapter, when presented with a unique probem/task still has no clue where/how to begin. – i.e. they say I don’t think I’m learning anything, I have no clue where to begin, I feel like I’ve forgotten everything and need to restart again from Chapter 1, etc. etc
Think of it this way — nobody learned how to ride a bike by watching videos, reading or listening to people on how to ride a bike! The people that learned how to ride a bike are those that really did it, made mistakes, fell down, got up and tried again and kept practicing. It’s the same with programming/coding.