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

i can't get my dialogs to show in chrome!

in the video "The Javascript console"... i don't see the dialogs i'm coding in chrome Version 44.0.2403.107 m did i do something by mistake???

scripts.js
alert("hello there");
/* this is a guess on how you comment in js :D anyways, i omitted the document.write(); *>/

1 Answer

Your comment is the problem.

try this.

alert("hello there");
/* this is a guess on how you comment in js :D anyways, i omitted the document.write(); */

i just put that comment in to say that i omitted document.write, ii wasn't there when i saw the error.

Are you still having trouble with your code? Would it be possible to see how your html looks?