Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

eugenbernwald
11,046 PointsThe correct answer does not seem to be accepted.
The code I submitted is not accepted as an answer. I have had this problem before and clearing the browser cache helped last time. This time however, it does not.
4 Answers

Jeff McDivitt
23,970 PointsPlease post your code

Chris Stromberg
Courses Plus Student 13,389 PointsI think its working now. I had to reload the page a few times before it would accept the correct answer.

eugenbernwald
11,046 PointsSomehow the code was not pasted in. Here it goes:
protocol Animal { var numberOfLegs: Int { get } }
protocol Pet : Animal { var cuddlyName: String { get } }
struct Dog : Pet { var numberOfLegs = 4 var cuddlyName = "Test" }

eugenbernwald
11,046 PointsThere are normally more line breaks, of course.

Chris Stromberg
Courses Plus Student 13,389 PointsThis code doesn't belong in the answer:
struct Dog : Pet { var numberOfLegs = 4 var cuddlyName = "Test" }
Otherwise its correct.