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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![John Fulstone](https://secure.gravatar.com/avatar/70581e937156ced9763b83781234c531?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
John Fulstone
Courses Plus Student 762 PointsHow do I get index html with my JavaScript file into Java Basics?
I cant get my html script from my workspace to my JavaScript Basics tab. https://teamtreehouse.com/workspaces/41628885# http://port-80-zoiquhtgtv.treehouse-app.com/ I'm on this course for boneheads. https://teamtreehouse.com/library/add-javascript-to-html Any ideas?
1 Answer
![chr1stoph](https://uploads.teamtreehouse.com/production/profile-photos/11598364/micro_Capture.jpg)
chr1stoph
4,128 PointsThis is how i got it to work.
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.
Heidi Fryzell
Front End Web Development Treehouse Moderator 25,178 PointsHeidi Fryzell
Front End Web Development Treehouse Moderator 25,178 PointsHi John,
The link to your workspace isn't working.
The way that I know how to link to a workspace is while you are in the workspace, click on the Camera Icon in the top right Corner of the page. Then click on take a snapshot. And it will generate a link that looks like this: https://w.trhou.se/r1arqqxj57 that you can paste into your post.
Once you fix the link I'm sure someone will be happy to take a look at you code.
Happy Coding!