What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

When posting an answer, I got an error: "Please made your answer complete by including relevant, formatted code inline (don't just link to jsfiddle.net)"

Even though I did include relevant code, just not enough?

enter image description here

Speaking from experience, sometimes the answer to a question is a typo or similar small issue.

I recognize that only posting links isn't good for the posterity of information, but it seems in its current state it is also throwing errors for valid answers.

share|improve this question
3  
There is more code in that fiddle though. You could just post the small amount of correct code you have there. I think that backtick doesn't count code either. –  ben is uǝq backwards Oct 27 '12 at 17:51
    
Related (and possible dupe) meta.stackexchange.com/questions/149890/… –  ben is uǝq backwards Oct 27 '12 at 17:52
    
I've just re-read that comment (and the really bad English in it). "I think that a backtick doesn't count as code either." You need code tags, i.e. normally indented by 4 spaces. –  ben is uǝq backwards Oct 27 '12 at 18:20

3 Answers 3

This was fixed along with this bug, check was just being too aggressive about what it consider "properly formatted code".

share|improve this answer

This is a good thing. You should include all the relevant code in your question, and omit the JSFiddle link entirely.

share|improve this answer
    
If that were the case the site would just blacklist JSFiddle links –  Michael Mrozek Oct 27 '12 at 19:14
5  
I would love to see that happen. JSFiddle links are a plague on Stack Overflow. I would be very happy if I never saw yet another Q/A derailed by turning into a series of revisions to a JSFiddle link. –  meagar Oct 27 '12 at 19:19
5  
@meagar: Blacklisting is a bit extreme. jsFiddle is very useful in quickly seeing exactly what's happening without 1) the OP showing their website they may not want to be public or flat-out can't show and 2) making others have to create an HTML page for something so small that it's borderline wasting time. Sure, we could educate users on better use of jsFiddle links, but blacklisting them causes more harm than good. –  animuson Oct 27 '12 at 21:39

Speaking from experience, sometimes the answer to a question is a typo or similar small issue.

In such cases, the question should be closed as too localized. Knowing that the code shown in the question contains a typo is not much helpful for future readers.

You see that error because your answer is short, and it includes a link to jsFiddle. It should be read as "Please make your answer more complete, for example including relevant, formatted code inline (don't just link to jsfiddle.net)."
Making your answer more complete means, for example, explaining why OP's code is wrong, or why the solution you propose is better.

Then, as meagar said, using jsFiddle in such case is probably not necessary, to just say which CSS style the OP should use. Just write all the code you have in the jsFiddle into your answer. This is what you should do, if you really don't find anything else to add to make your question more complete.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .