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

Preview in Workspace is not working.

Im having issues using preview in the workspace. It gives me a page that has Index of J.S along with other things. I tried clearing cookies, cache and, history but it didnt work.

1 Answer

Hey Lauren,

So I posted an answer I think will help you. It is under the last section with the linking of JS to HTML. Basically, when i was getting this error, something was wrong with the workspace that was created for me. I had to create a new workspace that was identical to get this all to work.

here is the link to the question with my answer. Copy and paste it. Hope it can help you.

https://teamtreehouse.com/community/im-not-getting-the-same-view-after-creating-scriptjs-and-linking-it-to-indexhtm-i-see-a-index-of-page-with-2-items