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 trialJan Francírek
1,766 PointsOption click - how to do it
In the video Amit changes his ,,Mouse Pointer?,, (4:15 vid time) to something with he can look what does some function means. I dont know how to change it.
2 Answers
Ben Griffith
5,808 PointsYou should have a key with Alt written on it (the option key) on the bottom left of your keyboard. Hold it down and click. Hope this helps!
petri foxx
336 Pointswhy I got error on this code? todo.removeAtIndex(3,4,5,6)
is that not possible to remover several strings in same time ?
Kirk Lewis
1,486 PointsThis question is off subject here but I wished you could do this as well mainly if the order was not sequential as you have it. Not sure, maybe a loop could handle it. I'm sure there's something... but I will say that your example could be done like this...
// Pulling out a range works like this // The half-closed range operator (1..<3) includes 1, up to but not including 3 (so 1-2). // A full range operator (1...3) includes 3 (so 1-3).
// So it would look like this: todo.removeRange(3...6)
Jan Francírek
1,766 PointsJan Francírek
1,766 PointsThank you :)