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 trial

JavaScript JavaScript Basics (Retired) Storing and Tracking Information with Variables Working with Strings and Finding Help

Can someone please review my code

var passphrase = 'Open Sesame'; console.log(passphrase.length);

I save it and try to preview and it shows "Can you fix the Java?"

Steven Parker
Steven Parker
231,007 Points

This is a duplicate of your previous question. You should delete this one. Click the little rectangle with the 3 dots in it to expose the delete option.

:warning: To other students: Please don't post any answers here.

Contribute to the original question instead if you want.

Carlos Lantigua
Carlos Lantigua
5,938 Points

you are logging this into the console not the browser. The "Can you fix the Java?" message you are seeing is the default HTML writing. Once you input your JS code check your console to see what comes up. It should be right from what I can see.