This is based on a real interaction I had with a student, who had run into an issue and wanted some help with it.
He was trying to get a delete button to appear after each item on the list, and didn't understand why his code wasn't working.
At this point, I think a good teacher train of thought is: 1. Diagnose the misconception 2. Construct a path for the student to realise the misconception 3. Guide them along the path.