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

Katherine Lawroski
Katherine Lawroski
1,843 Points

[SOLVED] Workspace preview not working

I cannot get any alert or function to work within the workspace preview. I've tried both Chrome and Safari, to no avail. I've gotten up to the Javascript Console class, and none of them have worked for me thus far.

Here's the most recent one that's not working: alert("hello there"); document.write("No it works!");

Bill Roberts
Bill Roberts
8,337 Points

Are you saving before checking the preview?

Katherine Lawroski
Katherine Lawroski
1,843 Points

Wow, I feel silly now. That totally worked. Thank you for your help!

Marked as solved