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

Ron Ziser
Ron Ziser
3,244 Points

why doesn't this code work?

Prompt window shows and 'quit' works but no results are displayed when I type in a name.

no errors shown on Javascript console

https://w.trhou.se/6gog5k71r3

2 Answers

Steven Parker
Steven Parker
231,275 Points

It sounds like you may be talking about the browser behavior that is discussed in the Teacher's Notes section of the video page, under the heading Important Update.

Take a closer look at that and see if that explains your issue.

I have the same problem and nothing anyone else has suggested has worked.

Steven Parker
Steven Parker
231,275 Points

Read that Important Update section again. This is not an error, or something to "fix".

Continue on, you'll soon learn much better methods for user interaction anyway.