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 trial

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
231,275 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
16,117 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
231,275 Points

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