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 Introducing the Practice

Agata Golebiewska
Agata Golebiewska
1,371 Points

Workspace for this video doesn't work properly. There is a 404 error in the console.

Workspace for JavaScript Practice Math doesn't work. It gives a 404 error in the console.

Times out for me as well. Have you contacted support?

Agata Golebiewska
Agata Golebiewska
1,371 Points

Hi Kris, no I haven't, I actually thought posting it here is contacting the tech support ... I have just sent them a message regarding this.

5 Answers

There is still a 404 error in the console

jack jones
jack jones
692 Points

yes there is still a 404 error i need help

Colton Schmucker
Colton Schmucker
1,335 Points

Be sure to include the file directory path when linking the JS file to the HTML page. I missed this at first. See below:

<script src="js/math.js"></script>

You will want to add the js/ in front of the math.js file because it is a sub folder here.

I'm getting this message from console "Failed to load resource: the server responded with a status of 404 math.js:1 (not Found)" Can someone help out with this one.

Colton Schmucker
Colton Schmucker
1,335 Points

Be sure to include the file directory path when linking the JS file to the HTML page. I missed this at first. See below:

<script src="js/math.js"></script>

You will want to add the js/ in front of the math.js file because it is a sub folder here.

Colton Schmucker
Colton Schmucker
1,335 Points

Be sure to include the file directory path when linking the JS file to the HTML page. I missed this at first. See below:

<script src="js/math.js"></script>

You will want to add the js/ in front of the math.js file because it is a sub folder here.

Steve Frenzel
Steve Frenzel
3,027 Points

Same here, also getting a 404

Colton Schmucker
Colton Schmucker
1,335 Points

Be sure to include the file directory path when linking the JS file to the HTML page. I missed this at first. See below:

<script src="js/math.js"></script>

You will want to add the js/ in front of the math.js file because it is a sub folder here.