There is a similar question here What is the minimum complexity required for a question in this community? but it does not propose a solution.
This will not only educate first time posters about what tools they should be using but also help other users answer these questions more quickly without having to ask for detail/examples; which I have seen happen time & again. Since the user already has the code it shouldn't take long to configure a jsfiddle.
My first question on SO was terrible, simply because I didn't know what I was doing & what I needed to provide in order for people to help me.