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 trialCasey Dixon
8,920 PointsWhy is my token not visible?
Working through this project I have been careful to always check my code before moving on to the next step. I have no errors detected in my text editor, nor when I run my code, yet the actual token does not appear on screen as the instructor's does. I have compared my code to the provided code up to this step and am still unable to see any difference. Would anyone have an idea why the token object does not appear on screen?
3 Answers
Liam Clarke
19,938 PointsHi Casey
Can you please copy and paste anything you see in the console on your chosen browser
Thanks
Ian Ostrom
Full Stack JavaScript Techdegree Student 10,332 PointsCasey Dixon go back to the step where we built the startGame method. Several people, including myself, had the same issue, and you might find a solution yours there.
Gwynfor Hockridge
4,571 PointsI had a similar issue here - turns out I was using the British spelling of colour - not 'color' so the token did not have a background colour.
Casey Dixon
8,920 PointsCasey Dixon
8,920 PointsThat's just it; in the console nothing appears, so I don't really know where to look. Originally, I had some errors, but I fixed all that appeared and now nothing shows up in the console and everything seems to be working fine with the exception of this missing token object.