JavaScript JavaScript Loops, Arrays and Objects Tracking Data Using Objects The Student Record Search Challenge

Billy Chui
Billy Chui
6,822 Points

Help me please, so close but why is my code only print when i press 'quit'?

https://w.trhou.se/3mgyce9bex

i spent more than 4 hours and i really don't know how i can fix that

1 Answer

Steven Parker
Steven Parker
201,932 Points

What you are describing is normal operation. Proceed to the next video and see the "Important Update" under the Teacher's Notes for an explanation.

Billy Chui
Billy Chui
6,822 Points

Thanks for the reply Steve, I spent whole day trying to figure out the code by myself before I proceed to the next lesson. They should post the ”important update” under the challenge instead of solution. Thanks Steve is my code correct?

Steven Parker
Steven Parker
201,932 Points

If it works when you enter "quit", the code is correct. Happy coding!