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 trialJason Berry
5,180 PointsIm not quite sure how I am missing the value.
It ask to log the console that represents value of author. I thought the value was Williams Shakespeare?
2 Answers
Jason Berry
5,180 Pointsconst book = { title: 'Romeo and Juliet', author: 'William Shakespeare', rating: 3.74, genres: ['Classics', 'Plays', 'Fiction', 'Romance'] }
//Log the value of the author property to the console console.log(book);
Steven Parker
231,184 PointsThat's the value, but your task is not to replicate the contents. You should refer to the object property directly.
Jason Berry
5,180 PointsI thought I was doing that by using author but I'm not right on that one either.
Steven Parker
231,184 PointsI'm not sure what you mean. Please show the actual code you are using.
Jason Berry
5,180 PointsJason Berry
5,180 PointsIts the console.log code Im messing up somewhere on that line.
Steven Parker
231,184 PointsSteven Parker
231,184 Points"book" is the object. You still need to specify the property name.