How to ask a good question

All coders get stuck, even professional ones! Asking the right questions in the right way is a crucial skill for getting unstuck. If you follow these guidelines, you’ll be far more likely to get helpful answers.

  1. Do some light research before asking your question (and share anything relevant you find so that the next people with that question can find the answer faster)! You may find that you answer your own question, but even if you’re still stuck, you’ll be closer to an answer. Don’t skip this step!

  2. Write one sentence that summarizes your inquiry and place it in the title of your post.

    • Check spelling/grammar punctuation
    • Select a category and/or tags so your question is in the right place.
    • Pick a good, descriptive title about your problem.
  3. Write in the body of the post to further clarify your question. Whenever possible always share the url to the exercise in question – without this, it’s really hard for other people to know what you’re talking about! Always be clear, concise, and give context.

  4. Post a code snippet (if applicable) that gets at the question you’re asking. If you’ve written code that isn’t working, post that.

    • To ensure your code is properly formatted when copied into our forums, write 3 backticks (`) before your first line of code and after your last line of code. See more info here.
  5. Proofread your question!

  6. Congrats! You’re ready to post your question!

For some more best practices that will help you to get the best answers, see here. For how to best answer a question, see here.

1 Like

4 posts were split to a new topic: Value error section