We tend to leave the source code alone as all aspects are valid for code review. But, questions like these are just asking to be converted to a snippet ( there's a link to JsFiddle even!)
Just wanted to know your input on this.
We tend to leave the source code alone as all aspects are valid for code review. But, questions like these are just asking to be converted to a snippet ( there's a link to JsFiddle even!) Just wanted to know your input on this. |
|||||
|
I will share what I have been doing when I see questions like this. If OP has posted all of the relevant code (HTML, CSS, & JS), I will convert the question into a Stack Snippet. If you do this, please be careful not to run the If OP has not posted all of the relevant code, but has supplied a link to a JSFiddle, I will use the JSFiddle to add a Stack Snippet using the Markdown to hide a snippet:
|
|||||||||
|
I would find a good thing to transform code block into Stack Snippet. If all the working code to make a working snippet is available, we would only be missing on a good feature. If there is a JsFiddle link, I would not remove it, since it can provide others features that are fun to use (JSHint is the first one I'm thinking). If there is not enough code in the question and you need to copy code from a JsFiddle, I would refrain from doing so. We should be cautious about the code in a question. |
|||
|