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 trialTimothy Grindall
7,843 PointsYour user object does not have a "Last Name" property.
So I got to this task in the code challenge for this part of the course which asks me to add a "First Name" property equal to "Mike" and a "Last Name" property equal to "the Frog". I'm not sure I got the right syntax and it is saying my user object does not have a "Last Name" property. So I don't know what's going on.
{
"users": [
{"First Name": "Mike"},
{"Last Name" : "the Frog"}
]
}
1 Answer
John Lack-Wilson
8,181 PointsHi Timothy, it is because you've got too many curly braces in there. It should be:
{
"users": [
{
"First Name": "Mike",
"Last Name" : "the Frog"
}
]
}
Timothy Grindall
7,843 PointsTimothy Grindall
7,843 PointsThanks, I figured it out.