Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAlan Fidelino
12,846 Pointsfor in loop
As I was doing the code along, I typed for i in array "do" and "|variable|" appeared. I ignored it and ran the code, but I encountered the error. I then tried removing "do" and the code ran as shown in the video. Is this normal?
1 Answer
William Li
Courses Plus Student 26,868 PointsI typed for i in array "do" and "|variable|" appeared
This sounds more like the behavior of code snippet or intelligent code completion from IDE/editor; however, without seeing the actual code, it's no way to tell what's going on here.