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.
Henry Grigorovich1,704 Points
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???
class Panda: species = ‘Ailuropoda melanoleuca’ food = ‘bamboo’
Jason AndersTreehouse Moderator 145,631 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! :)