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 trialKJ Lee
1,059 PointsWhen I press preview, it is not running my code. How can I fix this?
I have checked the code yet it isn't working. Also, when I try to access the console using the command + shift shortcut, it doesn't work. Any advice?
4 Answers
Noelle Szombathy
10,043 PointsIt may be helpful to see a screenshot of your workspace to get an idea of why your code isn't working. To see the console, you should be able to right click in the browser window and select "inspect" which will then allow you to navigate to the Console tab. The shortcut on mac is command + opt + i
Wendy Thubelihle Moyo
6,006 PointsTo access the console right click the press inspect
Richard Davis
1,225 PointsI had a similar issue, not with the console but with it not running my code. I solved this by saving the file before clicking preview.
Luiz Peres
1,507 PointsHi my issue is that the system it's only displaying the Warning message and going straight to the Boom, without counting down. also not showing the text "Message destroyed. I have checked the codes and all looks good.... Can you help?