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!
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 trial
Alan Fidelino12,846 Points
for 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?
William LiCourses Plus Student 26,867 Points
I 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.