Questions can be asked by clicking the Ask a Question button at the top right of the page. The Ask a Question feature notes what lab you are on and will ping any student who is currently working on or has completed that same lesson. Depending on your course, Technical Coaches may receive your question as well.
To most quickly reach a solution when using the Ask a Question feature in Learn, it's important to provide as much context to your question as possible. Before asking a question, there’s a few steps you should take:
- Carefully read the error message (for students enrolled in our career courses). Look at the lines that come after the error message (the stack trace). Usually near the top or bottom is one of the files you're working on and a line number where the code broke. Does this provide you with any clues?
- Try googling the error message. You'll be able to apply solutions other developers have found!
If you've tried all of these things for a while and you're still stuck, then it's probably time to ask a question. Some things to consider when asking a question:
- Summarize the error for the initial input on Ask a Question. Something like, "Getting 'no method error' when trying to write my hello method". If you paste a giant error message in when creating the question, it will be hard for others to read.
- Immediately follow up your question with: your code, your full error, what you did to reach that error, what you expected to happen, and what actually happened. This may sound like a lot of steps, but it will really help others jump right in!
If you’re pair programming with a Technical Coach, make sure Zoom is ready, your microphone works, you’re in a relatively quiet area, and you have a stable internet connection. Being prepared will help you get the most out of your 20-minute pair programming session.