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 trialKyle Bridges
Courses Plus Student 5,160 Pointsobjects: Section 2 of 2 "key and value"
Q:Add to the 'me' object a key of "age" and set it to your age, not as a string, but a number.
my code: var me={name:"kyle", age:"24"};
I have gone through the video 3 times, I just have no clue what I am doing wrong. Any help would be great!
3 Answers
Kyle Bridges
Courses Plus Student 5,160 Pointsnever mind.... solved it
wow do I feel stupid
Nicholas Lee
12,474 Pointsyou have it as a string, take away the "" so it read age:24
...for other peoples references
Elijah Collins
19,457 PointsSimpler version
```var me={name:"kyle", age: 24 };