Magic Eightball - can't link to variables

Hello, I’m working through the JavaScript course and I followed the video walkthrough to link to the variables, but the console is just spitting out exactly what I typed. See screenshot. I tried this in Windows Explorer and Google Chrome with the same results.

https://www.codecademy.com/courses/introduction-to-javascript/projects/magic-eight-ball-1

Link to the lesson.

1 Like

okay, I was using the single quote mark when I should have been using the very similar looking tilda located next to the #1.

I got stuck on exactly this same thing, and the silly thing is that the project video gets it wrong too, and the person doing it doesn’t even notice.

(ETA: The video doesn’t get it wrong in the same way, mind you. The video gets it wrong because Bryan writes Hello, $username instead of Hello, ${username}.)

1 Like