-8

Please explain, in simple terms, how to get the correct format of stuff in this window. Did the code fence. Fail. I pasted my code in the window. Included the 3 back ticks before and after. Included a few comments following the code. This should be a simple process. Now what?

7
  • meta.stackexchange.com/questions/216464/…. You can also look here
    – Vishnu CS
    Commented Apr 12, 2020 at 14:12
  • 5
    The message told you exactly what was wrong. You need to give sufficient background. If most of your post is just code, you haven't given enough context. Commented Apr 12, 2020 at 15:05
  • 1
    Write your issue first then post the code surrounded by 3 backticks. Look at the info at top of the edit page, which explains everything. Commented Apr 12, 2020 at 16:17
  • 1
    Are you explaining your question/problem/code with adequate amounts of non-code explanatory text? Commented Apr 12, 2020 at 18:39
  • 1
    Some of these questions might help you determine what the root cause for the error on your post is: meta.stackoverflow.com/…
    – rene
    Commented Apr 12, 2020 at 19:01
  • maybe helpful stackoverflow.com/editing-help
    – rene
    Commented Apr 12, 2020 at 19:05
  • 3
    This, and your other off topic question, strongly suggests you need to read the Help center. If you only had read that tour when it was offered to you ...
    – Jongware
    Commented Apr 12, 2020 at 21:56

1 Answer 1

3

Well it may be obvious but why not simply follow the suggestion and write more non-code text?

  • What does your code do?
  • What should it do instead?
  • What error are you getting?
  • What debugging have you done? Why was that unrevealing?

And perhaps less obviously, maybe you could also write less code. Given that the ratio of code to non-code is the issue, that's the other way to fix that.

  • Is every line of the code you're trying to post absolutely crucial in order to demonstrate the issue?
1
  • In response to this response: Well it may be obvious but why not simply follow the suggestion and write more non-code text? 1) I tried. 14 lines for 74 lines of code. Still fail. What does your code do? What should it do instead? What error are you getting? What debugging have you done? Why was that unrevealing? And perhaps less obviously, maybe you could also write less code. Given that the ratio of code to non-code is the issue, that's the other way to fix that. Is every line of the code you're trying to post absolutely crucial in order to demonstrate the issue? Commented Apr 13, 2020 at 15:36

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