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

fetch

can someone solve this code for me. i want to access the key of the msge object .. here is the problem am getting

app.js:31 Uncaught ReferenceError: object is not defined at doc (app.js:31) at app.js:33

https://w.trhou.se/fk84gxo66z

1 Answer

Steven Parker
Steven Parker
231,141 Points

On line 13, "Object" should be spelled with a capital "O".

But that return value isn't being used, clearly some more code is needed for this to make any difference in the program behavior.