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
charles bempah
1,295 PointsSuper basic question
I can't see here where I am going wrong. Syntax seems fine. But or some reason I keep getting the 'Failed to load resource: the server responded with a status of 404 (Not Found) ' error when I try to link the math.js file through the <script> tag. Please help.
3 Answers
charles bempah
1,295 Pointssorry forgot to
KRIS NIKOLAISEN
54,974 Pointsmath.js is in the is in the js folder. So your index.html should have
<script src="js\math.js"></script>
Also in math.js these should be reversed
prompt(parseFloat
charles bempah
1,295 Pointsthank you :)
KRIS NIKOLAISEN
54,974 PointsKRIS NIKOLAISEN
54,974 PointsCan you post your code?