Skip to main content
Revised for grammar, spelling, readability, and accuracy
Source Link
TylerH
  • 21.2k
  • 22
  • 229
  • 328

WeStack Overflow don't allow (you can, but it's not recommended)you to putupload files completely into theas attachments to a question or answer. Instead, it asks for an MRE, or Minimal Reproducible Example.

You are required to debug your code (that'swhich is causing the error) and get outfind just the specific section of the code that is making a problem (this is the "minimal" part of MRE). Make sure it is enough of the code that others can take that code and run it in their own environment and get the same outcome (this is the "reproducible" part of MRE). 

Now copy that piecesection of code and goprepare to the ask section page, ifadd it to your question. If that code is HTML, CSS, or JavaScript, then you can click this button to create a runnable "snippet" of code:

Enter image description here

Or ifIf the code is in any other programming language, then you can click this button, instead:

Enter image description here

I hope you understand. Only postIf your code that is causinguses or requires a data set in order to run or produce the errornecessary results, you are recommended to upload that data to a site like Pastebin or, if it's not text data, to a file-hosting site. Then you can link to the wholeURL for your file upload in the post.

Note that you will be required to include your code before you can share a URL if you are new member. URLs without code are not allowed, and attempts to fake code content in order to post a URL may result in a question being negatively received.

We don't allow (you can, but it's not recommended) to put files completely into the question. You are required to debug your code (that's causing the error) and get out the specific section of the code that is making a problem. Now copy that piece of code and go to the ask section page, if that code is HTML, CSS, or JavaScript then you can click this button:

Enter image description here

Or if the code is any other programming language, then you can click this button:

Enter image description here

I hope you understand. Only post code that is causing the error, not the whole file.

Stack Overflow don't allow you to upload files as attachments to a question or answer. Instead, it asks for an MRE, or Minimal Reproducible Example.

You are required to debug your code (which is causing the error) and find just the specific section of the code that is making a problem (this is the "minimal" part of MRE). Make sure it is enough of the code that others can take that code and run it in their own environment and get the same outcome (this is the "reproducible" part of MRE). 

Now copy that section of code and prepare to add it to your question. If that code is HTML, CSS, or JavaScript, then you can click this button to create a runnable "snippet" of code:

Enter image description here

If the code is in any other programming language, then you can click this button, instead:

Enter image description here

If your code uses or requires a data set in order to run or produce the necessary results, you are recommended to upload that data to a site like Pastebin or, if it's not text data, to a file-hosting site. Then you can link to the URL for your file upload in the post.

Note that you will be required to include your code before you can share a URL if you are new member. URLs without code are not allowed, and attempts to fake code content in order to post a URL may result in a question being negatively received.

Active reading.
Source Link
Peter Mortensen
  • 31.6k
  • 4
  • 22
  • 14

We don't allow  (you can, but it's not recommended) to put files completely into the question. You are required to debug your code (that's causing the error) and get out the specific section of the code that is making a problem. Now copy that piece of code and go to the ask section page, if that code is HTML, CSS, or JavaScript then you can click this button:

enter image description hereEnter image description here

Or if the code is any other programming language, then you can click this button:

enter image description hereEnter image description here

I hope you understand. Only post code that is causing the error, not the whole file.

We don't allow(you can but it's not recommended) to put files completely into the question. You are required to debug your code (that's causing the error) and get out the specific section of the code that is making a problem. Now copy that piece of code and go to the ask section page, if that code is HTML, CSS, or JavaScript then you can click this button:

enter image description here

Or if the code is any other programming language, then you can click this button:

enter image description here

I hope you understand. Only post code that is causing the error, not the whole file.

We don't allow  (you can, but it's not recommended) to put files completely into the question. You are required to debug your code (that's causing the error) and get out the specific section of the code that is making a problem. Now copy that piece of code and go to the ask section page, if that code is HTML, CSS, or JavaScript then you can click this button:

Enter image description here

Or if the code is any other programming language, then you can click this button:

Enter image description here

I hope you understand. Only post code that is causing the error, not the whole file.

added 1 character in body
Source Link
Gourav
  • 2.8k
  • 2
  • 10
  • 18

We don't allow(you can but it's not recommended) to put files completely into the question. You are required to debug your code (that's causing the error) and get out the specific section of the code that is making a problem. Now copy that piece of code and go to the ask section page, if that code is HTML, CSS, or JavaScript then you can click this button:

enter image description here

Or if the code is any other programming language, then you can click this imagebutton:

enter image description here

I hope you understand. Only post code that is causing the error, not the whole file.

We don't allow(you can but it's not recommended) to put files completely into the question. You are required to debug your code (that's causing the error) and get out the specific section of the code that is making a problem. Now copy that piece of code and go to the ask section page, if that code is HTML, CSS, or JavaScript then you can click this button:

enter image description here

Or if the code is any other programming language, then you can click this image:

enter image description here

I hope you understand. Only post code that is causing the error, not the whole file.

We don't allow(you can but it's not recommended) to put files completely into the question. You are required to debug your code (that's causing the error) and get out the specific section of the code that is making a problem. Now copy that piece of code and go to the ask section page, if that code is HTML, CSS, or JavaScript then you can click this button:

enter image description here

Or if the code is any other programming language, then you can click this button:

enter image description here

I hope you understand. Only post code that is causing the error, not the whole file.

added 34 characters in body
Source Link
Gourav
  • 2.8k
  • 2
  • 10
  • 18
Loading
Let's use smaller images for the embeds; layout.
Source Link
Cerbrus
  • 72.6k
  • 65
  • 370
  • 513
Loading
Source Link
Gourav
  • 2.8k
  • 2
  • 10
  • 18
Loading