- Formulate the problem for yourself.
- Search and research (related) existing questions and answers.
- Detailed but concise summary of your problem.
- Make it 1 sentence.
- Include error messages.
- Mention in what way your questions differs from already existing ones.
- Spelling, grammar and punctuation are important!
- Write the title last.
- Always use English.
- Always mention the programming language.
- Bad: [javascript] error message
- Good: Why does the console not show message from console.log statemenr (error message: Syntax error)?
- Introduce the problem.
- Mention any difficulties that have prevented you from solving this problem.
- Give only as much information as is necesarry.
- Include code. Your code examples should be…
- Minimal – Use as little code as possible that still produces the same problem.
- Complete – Provide all parts someone else needs to reproduce your problem in the question itself.
- Reproducible – Test the code you're about to provide to make sure it reproduces the problem.
- Add comments to your code example to explain your thinking process.
- Include tags for:
- programming language
- library
- specific API
- Format righly:
- all lower case
- replace spaces with hyphens
- avoid punctuation
- use both full words and abbreviations
- Check for spelling, grammar and punctuation.
- Make the formulation is structured lectured.
- Check is all the necesarry details are present.
- Avoid unnecesarry details and repeated text.
- Check if the title is still up-to-date.
- Make sure to guide the discussion the right way.
- Make sure to be ready to edit your question or include information they are asking for.
- Test (every) given solutions and give feedback to the developer.
And lastly, don't ever give up!