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.

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