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
Jaron Trotter11,472 Points
I'm trying to add a .append to my array.
I KEEP GETTING AN ERROR! It's asking me to add a element to my array. I'm doing so by todo.append("Debug App")
Is this correct?
var todo = ["Learn Swift", "Build App", "Deploy App"] todo.append("Debug App") todo.append("Fix App")
Jaron, you code runs OK in a playground, but it's not accepted by the challenge because you aren't adding the items they requested.
todo.append("Debug App") todo.append("Fix Bugs")
They want "Fix Bugs" rather than "Fix Apps"