A whole lot of developers don't know how to ask questions properly.
And then they're surprised they don't get help. Help others help you.
When asking a question:
1) Describe the problem
2) Add steps to reproduce (if applicable)
3) Mention what you tried already
4) Provide supporting material (screenshots/recordings/code/etc) for more context
5) Specify what you want to achieve
Here's an example:
"I struggle with this issue [describe issue]. Here're the steps to reproduce [add steps]. So far, I've tried these solutions [show solutions]. Here's a link to my code [introduce link] and a screen recording [add screen recording]. I want my code to do [say what]. Could you help me, please?"