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 JavaScript Loops, Arrays and Objects Tracking Data Using Objects The Student Record Search Challenge Solution

fisnik poroshtica
fisnik poroshtica
14,154 Points

Why this is not working?

What is wrong in my code, when i search for students it doesn't show me reports, what i did wrong? https://w.trhou.se/jvji1sjhct

2 Answers

Hi fisnik,

Are you sure it's not working? It seems to be working the same as the video for me.

You have first and last names for the name properties on your students so you would have to enter that full name correctly for there to be a match.

I copied one of the names and pasted it into the prompt to make sure it was exact and I saw the report.

fisnik poroshtica
fisnik poroshtica
14,154 Points

Same Code without changing anything now its working, i dont know why :)