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 trialAnna Astle
13,614 PointsMy program doesn't seem to print out the records despite typing in a student's name who's records I know are there.
Here is the programming I have done. Would someone mind looking over my student_report.js file in the js folder and let me know what I'm missing?
Thank you.
1 Answer
Lucero Quiroga Pérez
Python Web Development Techdegree Student 16,577 PointsHello, Anna Astle, I tried your program and it works well, this is a navigation problem, in the teacher's notes there is an explanation.
"Most browsers no longer do that: they wait until the loop finishes and then they print to the window. So, you'll see a blank page until you type quit in the prompt window — then you'll see all the output printed to the screen. Sorry for the confusion, and we'll update the video soon."
Dave StSomeWhere
19,870 PointsAh ha - should always check those teachers notes.
Dave StSomeWhere
19,870 PointsDave StSomeWhere
19,870 PointsYour code is fine. I think it is something with Chrome (is that what you are using?). I do see the names in Chrome after I put in "quit". When I run it in FireFox is works as expected - just like in the video.
If anyone knows what setting in Chrome blocks this I would be thrilled to know. I'm on Ubuntu 18.04 - not a Mac like the teachers and many others.