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 Loops, Arrays and Objects Simplify Repetitive Tasks with Loops For Loops

My Workspace gets a 404 error when I try to preview it.

When I execute the Workspace a 404 error flag.

I've gone back through and completely duplicated the index.html and script.js file from the video. Is this a known issue?

Well, I went back through, and literally rewrote the entire index.html and script.js files. Not just copy everything mentioned in the video. And it works now.

I have no idea what was going on. 'The internets be crazy yo.'

Steven Parker
Steven Parker
231,275 Points

In future, when you have a workspace issue, use the "snapshot" function and then post the link it gives you. Then others can easily replicate your environment for analysis.

1 Answer

Collin Bigart
Collin Bigart
8,862 Points

Chase Thompson I had a similar problem after I rewrote all the code I noticed the even though the script file I created was under the open js folder it wasn't actually inside the folder. After I dragged it in, it all worked the way it should.