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 trial

iOS Swift Basics (retired) Types Printing Results

Challenge task question

I'm a bit confused when in the Challenge task section it states: Important: The code you write in each task should be added to the code written in the previous task. Does this mean I should be copying all of the previous challenge task code and pasting it into the newest challenge?

2 Answers

Stone Preston
Stone Preston
42,016 Points

no, just the tasks for that challenge. Each challenge can have multiple tasks. so you do task 1, dont remove any code and then do task 2, then for task 3, make sure you keep the code from task 1 and 2 in there as well. you dont have to copy and paste anything, just dont delete any code from previous tasks of that challenge and you will be fine.

Thank you so much!