JavaScript JavaScript Loops, Arrays and Objects Tracking Data Using Objects The Build an Object Challenge, Part 2 Solution

My code prints but I still get a Type Error... please help clarify.

This is my code: https://teamtreehouse.com/workspaces/41406275

It prints fine but I always have the console open and noticed there is an error that won't go away.

Error: TypeError: student is undefined - script.js:12:3

Steven Parker
Steven Parker
202,004 Points

You can't share a direct URL to your workspace, it's temporary and only exists while you are using it.
But you can use the snapshot function in the workspace and provide the link to that.