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
create a class with attributes...
class Panda: species = ‘Ailuropoda melanoleuca’ food = ‘bamboo’ Here im defining the class name, then assigning attributes by name. What am I missing???
species = ‘Ailuropoda melanoleuca’
food = ‘bamboo’
Jason AndersTreehouse Moderator 145,857 Points
It looks like you copied/pasted from the question. Often times, the code checker for the challenge does not like the quotation marks used in the actual question. If you replace all four quotation marks with new ones you type in the text will change from pink to orange for the set attributes. Keep that in mind for future challenges. It's okay to copy/paste, but you will often have to change out the quotation marks used.
Keep coding! :)