How do I ask a good question? https://meta.stackexchange.com/help/how-to-ask
In a lot questions the OP has no idea what they're doing, they've found code on the internet, mixed it around and got something. They don't understand why that something doesn't work. Usually, in these questions, the original poster is rather clueless, helping them on the question is only spoon feeding them, and there is little to no chance the question will help anyone in the future.
Spoon feeding: provide (someone) with so much help or information that they do not need to think for themselves.
The First Rule of Programming: It's Always Your Fault https://blog.codinghorror.com/the-first-rule-of-programming-its-always-your-fault/
Press any key to continue – or any other key to abort.