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 Hello, JavaScript! Debug JavaScript in the Console

Why there is no message returned to the console? It says it's undefined https://monosnap.com/file/VlMLHNXjQz401K6c2

There should a message Hello from the console, but only Undefined is displayed :(

Steven Parker
Steven Parker
231,248 Points

That link doesn't seem to work. But a better way to share code is to make a snapshot of your workspace and share the link to it. Click the highlighted word for a video explaining how.

Note that this is very different from a "screenshot". Those are generally not very useful for analysis.