Help with HACKATHON project

Hello,

I have one student that has what appears to be the right code (he followed the pattern from 5.12) but yet when he hits the random button, it’s saying that the game name and game sales are undefined on the text screen. I can’t figure out why it’s doing this seeing how it was working correctly in 5.12 and other apps that followed the same pattern.

Here’s the link to his project

I have tried everything that I can think of. I’m new to teaching this subject as well so that doesn’t help matters. Please tell me why this isn’t working!

Two lines come to mind

var Id = getColumn("Best Selling Video Games", "id");

and

  if (Id < 10 ) {

Can you tell me why these two lines are incompatible?