I think my question is fair, but the person who answered it has down-voted me. Why?
Is it because I didn't write proper code in the question, and gave a direct link to view it instead? Should I provide all my code in the question instead of a link?
First of all - put all the necessary information in your question and not in an external link. Links can break and the question is useless.
After that you should put some effort in your question: Explain what you want to achieve, what you tried and where you are stuck. All that takes more than a one-liner.
In some comments people asked for clarification. But you did not response to that. The first minutes after you ask a question are the most important ones. Stay put. Answer to comments. Clarify what is necessary. Edit your question to make it better and clearer.
Because by looking at the question I have no idea of what you are talking about.
Questions should be self-contained. You should include the relevant code in your question and include the images of what is expected to happen in the question. Everything should be there. The fiddle is just something to help people play with your problem. It should not be the only representation of it.
By relevant, I mean exactly what @KenWhite pointed out. We don't want to have 1000 lines of code. You should normally be able to reduce the code to a snippet of 50 or fewer lines. This way, the problem is easier to understand AND shows that you tried to isolate the problem properly. Trying to solve the problem yourself is part of the research to make a good question.