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:
Or ifIf the code is in any other programming language, then you can click this button, instead:
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.