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!

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 Basics Working with Strings Transform and Manipulate Strings

How do I fix this error: Failed to load resource: the server responded with a status of Transform.js:1 404 (Not Found)?

When I launched workspace my files were not in the order as Guils' workspace. I still made sure to source the folder transform.js as he instructed. When I tried to execute the first assignment I got the error above. Not sure how to fix it.

Thank you Robert! You are right the file was not in the correct directory.

1 Answer

Hi Yasmeen! -

It sounds like the file is not in the correct directory. Is the transform.js file in the js directory, and does the index.html file <script> tag point to that directory?

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