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 trialJavier Lopez
390 Pointswhen i try to preview my code on workspace it opens a page saying "can you get the javascript to work?" instead.
I'm wondering if I'm blocking access somehow.
2 Answers
Zachary Miles
5,377 PointsPlease provide your code, so that we may assist you.
KAMRAN IMRANLI
4,107 PointsIt is because, you are seeing on the page what is written in your index.html file. If you want to see the result of your Javascript code, you should look at your console (Alt+Shift+J, this is for Chrome on Windows), according to your code [console.log(passphrase.length)].
Hope this helps!
Javier Lopez
390 PointsJavier Lopez
390 Pointsvar passphrase = 'Open Sesame'; console.log(passphrase.length);