I'd love to know what I did wrong while asking this question. It got closed and downvoted. I have a feeling that I've done something really bad and I'm even considering not trying ask more questions on Stack Overflow.
I am pretty new to asking on Stack Overflow, as usually answers that already were on the site were sufficient.
The main reason I am asking this is that I want to write better questions in future.