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 trialThomas Ma
15,199 PointsAdd three properties to this object: animal with a value of dog, an age property with the value 3, and a breed property
Please help
var paris {
animal:"dog",
age: 3,
breed:"pug "
};
1 Answer
Steven Parker
231,269 PointsThe properties are fine, but in task 1 the object was created in a "variable named addy", but the name seems to have been changed in this code to "paris".
Also, the assignment operator (=) is missing.
Thomas Ma
15,199 PointsThomas Ma
15,199 Pointswhere do you put the missing operator
Thomas Ma
15,199 PointsThomas Ma
15,199 Pointsnevermind i did it
Steven Parker
231,269 PointsSteven Parker
231,269 PointsThomas Ma — Glad to help. You can mark a question solved by choosing a "best answer".
And happy coding!