So I encountered a question someone had which I've seen answered before by another person's jsfiddle. The solution I wanted to share is not my own and I don't even fully understand how it works (but I know it does). Therefore I was hesitant to post it as an answer, especially when to paste in the jsfiddle link then I am first required to also include the code snippet that I did not write.
What's the best practice here? Just credit the person in the answer, maybe?