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 trialMiles Grofsorean
1,345 PointsHod could I call out "Pickup Laundry"? todo[4] only calls "Buy Bulbs". Is this because they were added together?
In the example he adds on "Pickup Laundry" and "Buy Bulbs", but todo[4} only counts the last part of that line, "Buy Bulbs". How would you call "Pickup Laundry"?
1 Answer
Chris Shaw
26,676 PointsHi Miles,
All you need to do is change the number 4 to a 3 which will give you Pickup Laundry.
let task = todo[3]
Hope that helps.