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
why won't the challenge 2 Question of practice getters and setters pass me even though I am simply copying in the answer
pretty straight forward question.
Steven Parker228,001 Points
I tried copying and pasting from the instruction page into the challenge and it passed. When you add the task 2 code, you do leave the task 1 code in there, right?
If that's not it, try showing your actual challenge code here and perhaps we can identify the issue.
Diane Bond8,011 Points
Challenge task 2 of 2 ("Create a getter method called radius that returns the value of the backing property _radius". Helpful hint: To attack this challenge requires a constructor method for class Circle.
Hope this helps!