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 trialPhong Somlith
5,675 PointsMy code does not come up with a prompt window...
I looked through my code multiple times and it seems to looks ok, however, it's not activating the prompt window. Can someone please help verify if my code is correct? Below is the link:
Thanks in advance!
Note: I'm using Chrome on a Mac.
2 Answers
Erik Nuber
20,629 PointsLine 7 of your javaScript file you call your variable questions left instead of questionsLeft. So the file isn't actually being completed because of an error. If you fix that, it should work.
Erik Nuber
20,629 PointsEasy to miss and not a big deal. I copy and pasted it into the console and it told me there was an error on Line 7 so made it easy to spot.
Phong Somlith
5,675 PointsAwesome. Good to know about using the console. Will definitely keep that in mind. Thanks again!
Phong Somlith
5,675 PointsPhong Somlith
5,675 PointsGood eye Erik, Thanks! After reviewing my code multiple times, couldn't believe I missed that.