Why is it since a few weeks no longer possible to answer questions without providing a code snippet?
Some questions, especially many beginner questions, can be answered without providing a code snippet, because the underlying issue is actually not related to the code snippet the OP provided.
Sometimes it is easier to link to a github repository, jsfiddle, jsbin, etc. containing the necessary code or code changes to help the OP.
It feels a bit odd posting a few lines of code just to be able to provide the right answer, knowing that the proper answer in code would be a very lengthy snippet; I was under the impression that it is better to link to somewhere where the OP and the one answering - as well as others - can tinker with it to see how changes lead to the right solution?