Throughout your programing career, and especially while you're just starting out learning, you're going to need help from other people. If you follow these guidelines, you'll find that you'll be able to get help much more quickly.
Break the problem down. Most difficult problems are actually several smaller problems that aren't so difficult. Is there a smaller piece of the problem you're working on that you could solve?
Do your own research. Go through all of the steps on the debugging lessons before asking for help. Re-read/watch the relevant lessons on this site. Search online to see if you can find anybody else who had the same problem you did.
Have your problem as close to being fixed as you know how. Often, when something isn't going right, you try a lot of different things to see what works, including things you think won't work but want to try out. Before you ask someone for help, get your project back to the state that you think is the closest to working.
Demonstrate the problem. It can be tempting to show the person helping you the problematic code and explain all the things you tried, but without the context of seeing what's going wrong, it will be hard to understand what you're talking about. Demonstrate the bug, show the part of the program you can't figure how to make work, pull up the error message.
Narrow down the problem. Show which part of the code you think is the culprit. Explain why you think your code in the present state should work, and any ideas you have about why it doesn't.
Share your hypotheses. Often, you'll have some ideas about what's going wrong based on your understanding and clues from your research. Share these with the person helping you, as they may not be immediately obvious.
Lesson 7 of 12
Last updated February 16, 2021