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.

JavaScript Object-Oriented JavaScript Object Basics Reviewing Object Basics

Value of book.genre[3]

It's supposed to be romance and I did that but..it seems to be wrong.. I tried: Romance,'Romance' , book[Romance] , book.Romance and so on.. little help? Thank you.

3 Answers

Steven Parker
Steven Parker
215,958 Points

Romance is the answer, you had it right. I'm not sure why it didn't score you as getting it. Try again, and if you still don't get it, try restarting your browser.

Now it works -_-

Romance

Mia Filisch
Mia Filisch
15,381 Points

I'm having the same issue, my exact submission is 'Romance', and the "Bummer" message I get literally states "Unfortunately, ''romance'' is incorrect". What the... ?

Steven Parker
Steven Parker
215,958 Points

Are you including the quotes as part of the answer? If so, try it without them.