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

the editor in coding task sometimes acting weird

Hi all, so when I paste my code to task editor from playground and click on "check", it pops up a bummer warning (not always but sometimes).

I am 100% sure my code is the right answer to the question like, for example :

// this isn't working for editor

struct Dog :Pet { }

// if I put a space between ":" and "Pet", it then works

struct Dog : Pet { }

( for the examples sake, keep the body empty)

it is kinda frustrating that I need to tackle problems like this every time. since I'm new to treeHouse, I wonder if its just me having this kind of problem or is it a bug in the editor ?

any comment are appreciated

1 Answer

It is a bug in the editor. You need to be very precise when doing challenges on it