JavaScript JavaScript Loops, Arrays and Objects Simplify Repetitive Tasks with Loops For Loops

Chase Thompson
Chase Thompson
Full Stack JavaScript Techdegree Student 7,404 Points

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?

Chase Thompson
Chase Thompson
Full Stack JavaScript Techdegree Student 7,404 Points

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
174,022 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,861 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.

Reza Zandi
Reza Zandi
Full Stack JavaScript Techdegree Student 1,599 Points

Thanks for that. Weird issue. Should probably have it posted under teacher notes.