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

code wont execute in workspace;

works fine in Jsbin.com; I'm clicking on icon in far right. var animal = prompt('input the name of a big animal with a long nose'); var color = prompt('What color is your animal'); var contenient = prompt('from what contenient is your animal from'); alert('You have finished'); document.write('The ' + color + ' ' + animal + ' ' + 'roams the savannas of ' + contenient);

Steven Parker
Steven Parker
243,318 Points

Whenever you'd like someone to check something in your workspace, make a snapshot of your workspace and post the link to it here.

I said the code isn't executing in workspace and I said it works in Jsbin.com, so that says the code, posted above, is not the problem and making an image of a blank screen will accomplish nothing; so please read the question before you reply

Steven Parker
Steven Parker
243,318 Points

I think you are confusing a "workspace snapshot" with a "screenshot". Please watch the linked video to learn about workspace snapshots. Then, if you make one and post the link to it here, someone can help you with getting your program to work in the workspace.